external library @ symbol

BlitzMax Forums/BlitzMax Programming/external library @ symbol

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.

A bool is equvalent to an Int.

The @0 decoration is inication of amount of stack space required for paramaters and usually indication of a stdcall calling conventions when exported by DLL or LIB.

The "C" calling convention does not decorate.

So...
Extern
Function BASSMOD_GetVersion:Short( ) = "BASSMOD_GetVersion@0"
End Extern

Should probably be
Extern
Function BASSMOD_GetVersion:Short( ) "win32" = "BASSMOD_GetVersion@0"
End Extern


Doug Stastny