Returning strings from a dll and freeing C strings

BlitzMax Forums/BlitzMax Programming/Returning strings from a dll and freeing C strings

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.

It looks like GetString() is missing a 'Return ReturnString'?

Currently it will return Null by default and s$=String.FromCString( GetString() ) will crash and burn...

Apart from that, it should work.