Interfacing with C++, random errors

BlitzMax Forums/BlitzMax Programming/Interfacing with C++, random errors

Under Windows XP I get the following error when executing the same code.
Unhandled Memory Exception