Well, some progress...
But in Delphi they say in the example the functions returns a WordBool type. what is the equivalent in BlitzMax?
' Declare functions (will point to DLL functions)... Global outstring:String Const DllName:String = "WURekInt.dll" Local DllHandle = LoadLibraryA(DllName) If DLLhandle = 0 Then Notify "Unable to initialize the dll" End EndIf 'Global BerekenTotaal$z(instring:String, outstring:String)"Win32" = GetProcAddress(DllHandle,"BerekenTotaalXML") Global BerekenTotaal:Long(instring:String, outstring:String)"Win32" = GetProcAddress(DllHandle,"BerekenTotaalXML") Print BerekenTotaal("infile.xml", "test.xml")
But in Delphi they say in the example the functions returns a WordBool type. what is the equivalent in BlitzMax?