C++ callbacks work great. But if the C++ callback calls another command from the BlitzMax DLL, random memory seems to be getting overwritten. I tried making the callback in both the DLL and the C++ program use both the STDCall and CDECL conventions. Any advice?
--EDIT--
Nevermind, my mistake, everything works great!
--EDIT--
Nevermind, my mistake, everything works great!