DLL function with examples form delphi and VB

BlitzMax Forums/BlitzMax Beginners Area/DLL function with examples form delphi and VB

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well, some progress...
' 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?