Original Post
Ok, after a large loop ive come back to Squirrel and SqPlus with VC++ 2005. The giant solution compiled and executed fine, but when I did it myself I get a problem with (it seems to be) sqobject.h my source (main.cpp): Im getting this error: "this application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information" Unfortunatly I am the support team... when stepping through with the debugger, i get an unhandled exception in SquirrelVM.cpp ln 133 (should be throw statement ln 131) which i can skip, and an access violation in sqobject.h ln 146 which i cannot continue past. What is this and how do i fix it?? Thanks!
#include "sqplus.h"
using namespace SqPlus;
#pragma comment(lib, "squirrelD.lib")
#pragma comment(lib, "sqstdlibD.lib")
#pragma comment(lib, "sqdbglibD.lib")
#pragma comment(lib, "sqplusD.lib")
int main(int argc,char * argv[]) {
SquirrelVM::Init();
SquirrelObject helloWorld = SquirrelVM::CompileBuffer(_T("print(\"Hello World\");"));
SquirrelVM::RunScript(helloWorld);
SquirrelVM::Shutdown();
return 0;
} // main