Compiling a .dll from bmx code?

BlitzMax Forums/BlitzMax Programming/Compiling a .dll from bmx code?

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 need to declare the function pointer with var as well.
Local GetData ( A:Int Var ) = GetProcAddress ( Library , "GetData" )

That should do it =)