Problem Embedding PythonWin in VC++ 6

Miles Rizzo milesrizzo at hotmail.com
Fri Mar 24 08:43:17 EST 2000


I wasn't aware that there are two versions of this header. Can you give me a
few more details about them?

"Thilo Ernst" <te at first.gmd.de> wrote in message
news:38DB6992.8F399432 at first.gmd.de...
> Miles Rizzo wrote:
>
> > Oh, yeah- when I try this in a console app I get the message "Can not
setup
> > interpreter state, as current state is invalid".
> >
> > "Miles Rizzo" <milesrizzo at hotmail.com> wrote in message news:...
> > > Ok, I'm really new to Python (thought it was just a big snake until
this
> > > week). I've gone throught the tuturial and now I'm trying to embed a
> > Python
> > > script in an MFC app using VC 6.0. I followed
> > > the instructions in "Using Pythonwin in an external project"
> > > (http://www.python.org/windows/pythonwin/EmbeddingWin32ui.html) but my
> > > application crashes. The DLL loads and the address of the function is
> > found
> > > but calling the Win32uiApplicationInit function causes a crash.
> > >
> > > I'd appreciate any suggestions. Thanks
>
> Just a hint that may or may not help: Check whether you use the right
> version of win32uiHostGlue.h .
>
> - Thilo
>
>





More information about the Python-list mailing list