I am trying to build a C++ console exe of ExecuteMAXScriptScript,when I run it,it causes error:
Exception code
0x0000000077408D84 (ntdll.dll) 0xC0000005,
Does any one know how to fix it?Thanks in advance.
The code is below:
#include "maxProject4.h"
#include<Windows.h>
#include <maxscript/maxscript.h>
int main()
{
ExecuteMAXScriptScript(_T("print 123"));
return 0;
}