 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
nnesori
Joined: 14 Oct 2006 Posts: 15 Location: south korea
|
Posted: Fri Jun 15, 2007 4:05 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1331
|
Posted: Fri Jun 15, 2007 4:35 pm Post subject: |
|
|
| 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 |
|
|
| Back to top |
|
 |
David Andersen
Joined: 15 Jul 2005 Posts: 85 Location: Denmark
|
Posted: Mon Jun 18, 2007 4:30 pm Post subject: |
|
|
| 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). |
|
| Back to top |
|
 |
nnesori
Joined: 14 Oct 2006 Posts: 15 Location: south korea
|
Posted: Tue Jun 19, 2007 7:07 am Post subject: |
|
|
| 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.
Related Information :
How to Configure Memory Protection in Windows XP SP2. |
|
| Back to top |
|
 |
Lope Guest
|
Posted: Sun Jun 24, 2007 11:04 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|