PDA

View Full Version : Embeded Python



HanyM.Magdy
30th September 2010, 15:58
Hi
i work under CentOS 5.5, Qt 4.7, Python 2.4.
i need to send data from C++ to Python.
i write a code but it's not work, i have an Inferior System error on it.
PyObject* objArg = Py_BuildValue("(z)", cKeyNum);
PyObject* objFunc = (PyObject*)Init;
pValue = PyEval_CallObject(objFunc, objArg

if there any know how to solve this problem please answer me :confused:.
Thanx