Wrapping RackNet in BlitzMax

BlitzMax Forums/BlitzMax Programming/Wrapping RackNet in BlitzMax

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.

AH-HA, to stop the crashing and memory leak, add "win32" at the end of the functions, like this...
Global RN_ServerReceive%(rakServerInterface%)"win32" = GetProcAddress(lib, "_RN_ServerReceive@4")
:D

Its not the first time this "win32" thing has done this to me, I cant believe I didnt think of it earlier.