Embedding Python in Visual C++ 6.0

Mark Hammond mhammond at skippinet.com.au
Wed Apr 12 16:00:18 CEST 2000

"Matthias" <matthias_w at my-deja.com> wrote in message
news:8d1od2$9fl$1 at nnrp1.deja.com...

> Sorry - but I realy tried. I have the same probleme with your
> pythonwin.cpp sourcecode when I try to debug it. In
> <b>glue.DynamicApplicationInit(startup)</b>everything looks nice, but
> if I step into <b>glue.InitInstance()</b> I get the unhandled exception
> (see below). The Address where the debugger "land's" seems right
> (1E401F69) it should be the address of <b>BOOL Win32uiInitInstance()

You are probably loading win32ui.pyd instead of win32ui_d.pyd - this would
explain the crash and the lack of source code.

You may have win32ui.lib on the command line for your builds - if so, you
should remove it and it will magically work correctly.


More information about the Python-list mailing list