Compiled EXE still need library Topic is solved

Ask for help, how to use AHK_H, etc.
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Compiled EXE still need library

23 May 2017, 04:00

It seems to be a basic question but I can't find any answer. If I compiled the script (using AHK_H's compiler), the thread inside the EXE (ahkmini/ahkthread) still needs the library scripts. Is it possible for the threads to search for library scripts from those of the main exe?
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Compiled EXE still need library  Topic is solved

23 May 2017, 13:53

It does already do that but you have to include the script in your exe, it is not inluded automatically. I has to be saved in RESOURCES\LIB\MYLIBRARY.AHK, you can also use Ahk2Exe directive, see http://fincs.ahk4.net/Ahk2ExeDirectives.htm
E.g. ;@Ahk2Exe-AddResource LIB mylibrary.ahk
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Re: Compiled EXE still need library

23 May 2017, 20:19

That is very useful! Hope one day these directives can be integrated into SciTE.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Compiled EXE still need library

24 May 2017, 14:56

Ahk2Exe is not part of SciTE, what would you expect to happen with these directives in SciTE?
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Re: Compiled EXE still need library

25 May 2017, 10:54

I mean maybe hotkey or tool to insert those directives conveniently~

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 18 guests