need help for extending and embedding
From: Ing Giuseppe Monteleone (info_at_ing-monteleone.com)
Date: 02/29/04
- Previous message: Geoffrey: "Getting Python/IIS/ASP to work"
- Next in thread: Jeff Epler: "Re: need help for extending and embedding"
- Reply: Jeff Epler: "Re: need help for extending and embedding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Feb 2004 14:20:46 GMT
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
- Previous message: Geoffrey: "Getting Python/IIS/ASP to work"
- Next in thread: Jeff Epler: "Re: need help for extending and embedding"
- Reply: Jeff Epler: "Re: need help for extending and embedding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|