while I'm at it:
in a "kernel32.decls" the following lines are required:
In the app you will have to make a 10 bytes bank ready to retrieve data from the returned adress:
In blitz you would then:
in a "kernel32.decls" the following lines are required:
.lib "kernel32.dll" RtlMoveMemory2%(Destination*,Source,Length) : "RtlMoveMemory"
In the app you will have to make a 10 bytes bank ready to retrieve data from the returned adress:
my_buffer=createbank(10)
In blitz you would then:
adr=Get_Version() rtlMoveMemory2(my_buffer,adr,10) version$="" for i=0 to 9 version$=version$+chr$(peekbyte(my_buffer,i)) next Print version$