;@Ahk2Exe-AddResource LIB looking for standard lib

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
Posts: 23
Joined: 05 Aug 2015, 03:19

;@Ahk2Exe-AddResource LIB looking for standard lib

06 Oct 2017, 10:37

I often use ahkmini/ahkthread with some #include inside the dynamic script. For example:

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

#include <testlib>

If I want to compile for a single usable executable, I have to let the compiler include testlib in the resource. That is:

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

;@Ahk2Exe-AddResource LIB FULL/PATH/TO/testlib.ahk

Using modified Directive_AddResource function inside the Compiler/Directives.ahk, along with ListIncludes.ahk, the compiler will looking for non-full-path library in Compiler/../Lib . Wish somebody help refine it and may be HotKeyIt will adapt this idea ~

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

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 2 guests