I'm trying to get CALLBACK to work (haven't used it really before), but at the moment I keep getting
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp.h:223: error: new declaration `DGNat __GLBASIC__::loadSaveOtherOptions(DGNat, __GLBASIC__::tOptionsData&)'
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp.h:85: error: ambiguates old declaration `DGInt __GLBASIC__::loadSaveOtherOptions(DGNat, __GLBASIC__::tOptionsData&)'
Which is fair enough normally.
However, my functions are defined as :
FUNCTION loadSaveOtherOptions%:doLoadData%,options AS tOptionsData
and
CALLBACK FUNCTION loadSaveOtherOptions:doLoad%,options AS tOptionsData
They are in different files too...
Remove the % sign in the declaration of the function.
Yes - just noticed the return symbols are different