This function loads a Dll for later use via the DllCall function
DllLoad(dllname)
(s) dllname The name of the Dll to be called.
(s) a handle to a Dll for use in DllCalls.
When multiple calls are to be made to a Dll, and the calls are interdependent, the Dll should be first loaded via the DllLoad command, and the return value - a dllhandle - should be passed to the DllCall function instead of a filename.
a0="Hello Dolly" dllhandle=DllLoad(StrCat(DirWindows(1),"USER32.DLL")) a1=DllCall(dllhandle, lpstr:"CharUpperA", lpstr:a0) DllFree(dllhandle) Message(a0, a1)
Binary Operations, DllCall, DllCallbackCreate, DllCallbackDestroy, DllCall Additional information, DllFree