I
Ing Giuseppe Monteleone
I'm trying to extend and embed the python language in a Borland C++Builder
application but I have some problem
Using PyRun_SimpleFile() I got and invalid access error, menwhile using
PyRun_SimpleString I cannot have no effect.
I used the standard sequence embedding code
Py_Initialize()
Py_InitModule()
PyImport_AddModule()
PyRun_SimpleFile()
I checked parameter many times, but the program won't work. what's wrong ?
In my opinion i think that could be some problem with stdion and stdout but
I acnnot redirect them from C before starting file with PyRun_SimpleFile.
can anyone help me ?
Thanks
Ing Giuseppe Monteleone
application but I have some problem
Using PyRun_SimpleFile() I got and invalid access error, menwhile using
PyRun_SimpleString I cannot have no effect.
I used the standard sequence embedding code
Py_Initialize()
Py_InitModule()
PyImport_AddModule()
PyRun_SimpleFile()
I checked parameter many times, but the program won't work. what's wrong ?
In my opinion i think that could be some problem with stdion and stdout but
I acnnot redirect them from C before starting file with PyRun_SimpleFile.
can anyone help me ?
Thanks
Ing Giuseppe Monteleone