You might want to free the byte ptr when you no longer need it as blitzmax doesn't do this automatically, or pass a pointer to GetMyString for it to set the contents instead.
Error dll function returning String made with bmax
BlitzMax Forums/BlitzMax Programming/Error dll function returning String made with bmaxThe 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.