Author: SKAN Last Modified: 20090905
Humble 36L wrapper to create and use DLL resources in AutoHotkey Scripting Language.
Dll_CreateEmpty( F="empty.dll" )
Dll_PackFiles( Folder, DLL, Section="Files" )
Dll_Read( ByRef Var, Filename, Section, Key )
For the functions's parameters and return value, please see it's source code or the document.
The documentation is part of authors first post about the library.
For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?t=62180
nonexistent
; #Include dll.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% ; First specify a folder, from which to include all files into the DLL. folderToPack := A_ScriptDir . "\newFiles" ; Fill the folder with files. FileCreateDir, %folderToPack% Loop, ..\*.txt { FileCopy, %A_LoopFileFullPath%, %folderToPack%, 1 } ; Create the DLL from that folder. Dll_PackFiles( folderToPack . "\", "newFiles.DLL", "Text Files" ) ; Get content of file into variable. Dll_Read( Var, "newFiles.dll", "Text Files", "COPYING.txt" ) MsgBox %Var%