Declaring Win32 stuff for Bmax?

BlitzMax Forums/BlitzMax Beginners Area/Declaring Win32 stuff for Bmax?

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.

I can spot that at least
Field szCSDVersion:Byte[128] should be
Field szCSDVersion:Byte ptr

The dll allocates the memory for that string.
You have to free your .FromCString thing yourself though, so you should put it in a variable.

read more at: http://www.blitzbasic.com/Community/posts.php?topic=53269