AutoHotkey Community

It is currently May 27th, 2012, 10:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: June 15th, 2007, 4:05 pm 
Offline

Joined: October 14th, 2006, 5:15 pm
Posts: 16
Location: south korea
Quote:
Did you execute it directly from the command prompt or Run box

Yes,I executed it directly from the command prompt and Run box.

Quote:
Are you sure that it's not the bug/intererence of the application you used?

I made exit other applications from TNA and taskbar.
and I tested it. But same result.


Quote:
it would make them waste their precious times for nothing

I see your point. I'll check again.

Thanks Sean.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 15th, 2007, 4:35 pm 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
nnesori wrote:
Yes,I executed it directly from the command prompt and Run box.

Then, I think only Chris or JGR, who know the source code, can give a definite answer about it.
The only possible culprit I can think of atm is that some resident app like your Anti-Virus proggy somehow interferes AHK's processing the script, assuming your system is in healthy state.
I suggest to test again after unpacking AHK using UPX (upx300w.zip), which I always do after downloading AHK, and/or disabling temporarily the AV if you have one.

Code:
upx.exe -d -k AutoHotkey-RegisterCallback.exe


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 18th, 2007, 4:30 pm 
Offline

Joined: July 15th, 2005, 3:19 pm
Posts: 140
Location: Denmark
I have been reading through this thread and I have to admit that I still don't really understand what callback is. But do you think this in some way could be used to create true multithreading in AHK without the need to have lots of ahk processes in windows (it really looks ugly to have more than 10 ahk processes).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 19th, 2007, 7:07 am 
Offline

Joined: October 14th, 2006, 5:15 pm
Posts: 16
Location: south korea
Quote:
Callback doesn't work on my Xp.


I found a solution.
Now, Callback is working on my Xp.
The solution is DEP(Data Execution Prevention) setting.
I think that something is abnormal.
But, I'm ok. :D


Related Information :
How to Configure Memory Protection in Windows XP SP2.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2007, 11:04 pm 
A question,
I receive the callback and the function associated with OnMessage is called, but I have not clear the concept of how to obtain the parameters.

The callback receives: (int,int,structure(int,int,int,int))

So... the number of parameters is 3 or 6 ?

If I want to access the first member of the structure, I do this:
res := GetDeRefInteger(lParam+8) but I get a huge number that doesn't change between calls and doesn't make sense.

What I'm doing bad ? Thanks.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC [ DST ]


Who is online

Users browsing this forum: specter333, XX0 and 28 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group