Problem Embedding PythonWin in VC++ 6
te at first.gmd.de
Fri Mar 24 14:11:46 CET 2000
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
> > 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
> > 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 .
More information about the Python-list