Missing PyObject definition

2008-03-17 Thread James Whetstone
I'm trying to access a PyObject directly from C++ for the purpose of calling method on a Python object that is an intance of a derived C++ class. My problem is that the compiler is complaining about not PyObject not being defined. Has anyone run into the problem? Where is PyObject defined?

Re: Missing PyObject definition

2008-03-17 Thread Michael Wieher
2008/3/17, James Whetstone [EMAIL PROTECTED]: I'm trying to access a PyObject directly from C++ for the purpose of calling method on a Python object that is an intance of a derived C++ class. My problem is that the compiler is complaining about not PyObject not being defined. Has anyone run

Re: Missing PyObject definition

2008-03-17 Thread Diez B. Roggisch
James Whetstone wrote: I'm trying to access a PyObject directly from C++ for the purpose of calling method on a Python object that is an intance of a derived C++ class. My problem is that the compiler is complaining about not PyObject not being defined. Has anyone run into the problem?

Re: Missing PyObject definition

2008-03-17 Thread Jeff Schwab
James Whetstone wrote: I'm trying to access a PyObject directly from C++ for the purpose of calling method on a Python object that is an intance of a derived C++ class. My problem is that the compiler is complaining about not PyObject not being defined. Has anyone run into the problem?

Re: Missing PyObject definition

2008-03-17 Thread James Whetstone
Hi, Yeah, I've included python.h and object.h but the compiler still complain about not finding PyObject. It's weird.So I'm developing and App on windows using VS 8.0. I've intalled Python 2.5 and have added the include directory to my project's configuration. I'm also using

Re: Missing PyObject definition

2008-03-17 Thread Michael Wieher
2008/3/17, James Whetstone [EMAIL PROTECTED]: Hi, Yeah, I've included python.h and object.h but the compiler still complain about not finding PyObject. It's weird.So I'm developing and App on windows using VS 8.0. I've intalled Python 2.5 and have added the include directory to my