[BUG] "RegisterCallback" wrong.

Ask for help, how to use AHK_H, etc.
arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

[BUG] "RegisterCallback" wrong.

06 Oct 2017, 10:43

I have encountered a problem using the "addScript" to add a script, and if the script contains a "RegisterCallback" command, the function that contains it will not be recognized.
The script is similar to the following, sorry I can not provide a simple function to reproduce it.

Code: [Select all] [Download] GeSHi © Codebox Plus

f:=ahkthread()
f.new(".......")
f.add("A()`nA(){`nwinenum()`n}`nwinenum(){`nMsgBox RegisterCallback(`"winenum`")`n}")
MsgBox f.func("isfunc","winenum")


I used it for a long time to try to solve it, but there was no result.
So i think that this does not seem to be my scripting problem.
So I used the old version.

Back to "Commits on Sep 14, 2017" version.
Everything is fine.

The problem is here, starting from this version, "RegisterCallback" began to go wrong.

Commits on Sep 21, 2017
Fix ZipInfo and bug in FileRead



Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

HotKeyIt
Posts: 1549
Joined: 29 Sep 2013, 18:35
Contact:

Re: [BUG] "RegisterCallback" wrong.

06 Oct 2017, 15:37

Thanks for checking, this should be fixed now ;)

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 3 guests