Hi Fredrik,
Thanks very much for that reply. Your suggestion sounds feasible, I
guess. Taking what you said, and thinking about how I could avoid adding
an additional intepreter step, I thought that I could try the following:
pyfile = PyFile_FromString(name,"r");
if(pyfile==NULL){
> the contents and the layout of the FILE structure isn't defined
"isn't standardized", that is.
--
http://mail.python.org/mailman/listinfo/python-list
John Pye wrote:
> I have been working on some new code that embeds python in an C
> application. The embedding is working fine under Linux but crashing
> under Windows (XP) when I reach the following step.
>
> PyRun_AnyFile(f,name);
>
> If there's some python exception being thrown by the PyRun_An
Hi all
I have been working on some new code that embeds python in an C
application. The embedding is working fine under Linux but crashing
under Windows (XP) when I reach the following step.
PyRun_AnyFile(f,name);
If there's some python exception being thrown by the PyRun_AnyFile call,
how ca