Embedding Python in Visual C++ 6.0 (Part II)

Matthias matthias_w at my-deja.com
Wed Apr 12 14:36:52 CEST 2000


I played a littlet bit in the environment (especially Edit-
>Breakpoints) and if I try to activate the disabled breakpoints VisualC
tells me: "No code exists at the line number for breakpoint at
'{,win32uimodule.cpp,}@2128" - if I say EditCode the compiler jumps to
the correct addressed - I think I'm doing something wrong - but I have
no idea

Thank's for your help
Matthias :-)

In article <N2YI4.2030$UB.13624 at news-server.bigpond.net.au>,
  "Mark Hammond" <mhammond at skippinet.com.au> wrote:
> You also need to override InitApplication().
>
> I should update the docs, but until then, simply look at
Pythonwin.cpp and
> see what it does - whatever it does, it obviously works :-)
>
> Mark.
>
> <matthias_w at my-deja.com> wrote in message
> news:8d1he4$26d$1 at nnrp1.deja.com...
> > Hy! :-)
> >
> > Maybe someone (Mark Hammond??) can help me. I
> > tried to embedd the win32 extentions from Mark in
> > a visual c++ project, but everytime the
> > <b>Win32uiInitInstance()</b> is called (via
> > <b>glue.InitInstance()</b>) I get an unhandled
> > exception at 0xC0000005 Access Violation and the
> > debugger jumps to 1E401F69 - the address of the
> > Win32uiInitInstance() function. When i try create
> > a break-point in this function this break-point
> > is disabled %-( by the compiler. The same is true
> > if i try to debug the original pythonwin project.
> >
> > Help please!
> >
> > Matthias
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list