External DLL calls

BlitzPlus Forums/BlitzPlus Programming/External DLL calls

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.

for B+, you can initialize the string you are passing in retStr$ by setting it to a certain # of spaces. so for your example, you can set tileWidth$=" " and then you should start getting back values. im not sure the ramifications of this though since in theory its not supposed to work. the proper way to do it is to use a bank for retStr$ instead of a string. you can see some working declarations at:

kernel32.dll decls for INI access

i will see if i can post the function i use for reading when i get home.

GMan