Menu

#4 "import ctypes" and "Py_Initialize();"

open
nobody
None
5
2005-11-08
2005-11-08
Anonymous
No

If this code is launched 5 times, inside one C++
application the application crash:

Py_Initialize();
PyRun_SimpleString("import ctypes");
Py_Finalize();

Any idea for solution?

Cheers,
VV

Discussion


Log in to post a comment.