Noob: Creating A Dll?

BlitzMax Forums/BlitzMax Beginners Area/Noob: Creating A Dll?

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 have to define the functions with "win32" and place a GCEnter sentence at the begining of the function to activate the garbage collection.
Example:
Function DoThis:int(Value:Long) "Win32"
   GCEnter()
   Return Value*2
End Function