Open yzqiang opened 1 week ago
After researching, I found the reason.
Because the Exe infact the LoadScript function must find the LoadScript.ahk script first.
If the AHK file can't be found, there will be error such as that image.
I think maybe it's the AHK2Exe error not the LoadScript error.
Some dynamic code is executed. After the script is compiled, additional library files need to be placed or embedded in source code.
I use LoadScript library great. But when I compile my script to Exe using AHK2EXE, it does not work. I trace the error using DebugView++, I found when AHK run script such as: LoadScript(script) There will be error happen and the Exe stop immediately. Exe is very important for me and other AHK developers. Please tell me the reason and help us to find a way. Thanks very much.