I want to pass a BlitzMax function ( which takes several parameters and returns another ) to a CPP function.
The callback function I pass looks like this :
But I'm not entirely sure how the BMax Extern "C" declaration should look, nor how the CPP function which receives it should look.
The callback function I pass looks like this :
Function WinProc(hWnd:Int,Msg:Int,wParam:Int,lParam:Int)
But I'm not entirely sure how the BMax Extern "C" declaration should look, nor how the CPP function which receives it should look.