Re: Executing script with embedded python

2006-01-26 Thread Andrew Ayre
"Farshid Lashkari" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The problem is that PyObject_CallObject always returns NULL. Is this the > > correct return value for simply executing a script, as there is no function > > return value involved? > > The documentation for PyObject_

Re: Executing script with embedded python

2006-01-26 Thread Andrew Ayre
"Farshid Lashkari" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The problem is that PyObject_CallObject always returns NULL. Is this the > > correct return value for simply executing a script, as there is no function > > return value involved? > > The documentation for PyObject_

Re: Executing script with embedded python

2006-01-26 Thread Andrew Ayre
"Farshid Lashkari" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The problem is that PyObject_CallObject always returns NULL. Is this the > > correct return value for simply executing a script, as there is no function > > return value involved? > > The documentation for PyObject_

Executing script with embedded python

2006-01-25 Thread Andrew Ayre
Hi, I have a script that I want to execute from C. I don't want to call any functions, just execute the script. Below is a code snippet. The problem is that PyObject_CallObject always returns NULL. Is this the correct return value for simply executing a script, as there is no function return value

How to build Boost.Python

2006-01-23 Thread Andrew Ayre
Hi, I can't seem to get the library built, and any help is greatly appreciated. Here is the info: Windows XP Borland C++ Builder 5 Latest Boost source code (downloaded at the weekend) Windows binary bjam 3.1.11 Command line: bjam "-sTOOLS=borland" "--with-python-root=C:\Python" "--with-python" i