Passing /n in a String to C

BlitzMax Forums/BlitzMax Programming/Passing /n in a String to C

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.

You mean something like that?
Import pub.win32

Global MyDLL=LoadLibraryA( "mylib" ) ' load "mylib.dll" 	
	
Global MyStringFunc(str$z)=getprocaddress(MyDLL,"my_string_func")

MyStringFunc "Line1~nLine2~nLine3~nLine4"
(from: http://chris-camacho.com/index.php?option=com_content&task=view&id=16&Itemid=28 )

--Byteemoz