> Py_EndInterpreter(pInterpreter);
> PyEval_ReleaseLock();
> }
>
> This appears to work fine accept that after around 30-40 invocations I
> always get the "Invalid thread state for this thread". ie the app and dll
> stay loaded and I click my "run" button
();
Py_SetProgramName(szModuleFileName);
PyRun_SimpleFile(hScriptFile,m_szActiveScript);
PyErr_Clear();
Py_EndInterpreter(pInterpreter);
PyEval_ReleaseLock();
}
This appears to work fine accept that after around 30-40 invocations I
always get the "Invalid thread state for this thread". ie t