AutoHotkey / Ahk2Exe

Official AutoHotkey script compiler - written itself in AutoHotkey
https://autohotkey.com/
Do What The F*ck You Want To Public License
599 stars 113 forks source link

LoadScript can't be compiled in Exe #104

Closed yzqiang closed 2 months ago

yzqiang commented 2 months ago

I use LoadScript class in the ahk2_lib. It works very well in AHK script mode. But when I compiled my script to Exe using Ahk2Exe, something will be wrong. With the LoadScript.ahk in the Lib, the Exe can work well. When I remove the Lib dir or LoadScript.ahk, there will be errors when I start Exe. 5fc2550802ab6f1a32ea0a8b2fe69a0 I think the compile didn't include the dynamic script in or something. Is there some possible way to solve the problem? Thanks very much.

TAC109 commented 2 months ago

It appears that you are using AHK_H, which uses its own version of Ahk2Exe. This is maintained by thqby.

I see that you have also opened an issue at thqby/ahk2_lib for this problem. You would be best to carry on pursuing this issue with thqby.

Cheers