PDA

View Full Version : System Error in Python embeded script



HanyM.Magdy
9th August 2010, 12:20
i use Qt4.6 under windows 7 X86, i create an script application for python
i have this error "The Inferior stopped because it received a signal from the operating system"
pName = PyBytes_FromString(stmReaddata.readAll().toLatin1( ).data());
pModule = PyImport_Import(pName);
if(pModule != NULL)
{pFunc = PyObject_GetAttrString(pModule, NULL);}
PyObject *pValue;
pValue = PyObject_CallObject(pFunc, NULL);

it's crash at the pModule object.
Thanx