DECLARE INTEGER LoadLibrary IN kernel32 STRING lpLibFileName DECLARE INTEGER GetProcAddress IN kernel32 INTEGER hModule, STRING lpProcName m.handle = LoadLibrary("QuickHash.dll") m.test = chr(154)+chr(0)+chr(0)+chr(0) m.phandle = GetProcAddress(m.handle,m.test)After all that, m.phandle contains a 0 when it should contain a handle to the function.
>lpProcName = CHR(154)+CHR(0)+CHR(0)+CHR(0) >