I would like to call a function inside a dll, this function returning a string. Here is how I am doing this in a short example:
The problem is that GetString() is returning a number (for ex. 84843344). I tried a lot of combination (adding a $, $z, etc) to try to get a string from my function, but I always failed...
How can I do that???
Const DllName:String = "mydll.dll" Local DllHandle = LoadLibraryA(DllName) If DLLhandle = 0 Then Notify "Unable to initialize the dll" End EndIf Global GetString()"Win32" = GetProcAddress(DllHandle,"GetString") Print GetString()
The problem is that GetString() is returning a number (for ex. 84843344). I tried a lot of combination (adding a $, $z, etc) to try to get a string from my function, but I always failed...
How can I do that???