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
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