Hi,
Trying to grasp Py_NewInterpret er()in a simple app embedding Python, I was
wondering why the following gives me an error:
int main() {
PyThreadState *tstate;
Py_Initialize() ;
//The following returns
//Fatal Python error, invalid thread state for this thread
tstate = Py_NewInterpret er();
//etc..
Python is 2.3.3c1 on Win XP
Pointers much appreciated
Regards
Vincent Wehren
Trying to grasp Py_NewInterpret er()in a simple app embedding Python, I was
wondering why the following gives me an error:
int main() {
PyThreadState *tstate;
Py_Initialize() ;
//The following returns
//Fatal Python error, invalid thread state for this thread
tstate = Py_NewInterpret er();
//etc..
Python is 2.3.3c1 on Win XP
Pointers much appreciated
Regards
Vincent Wehren