Re: [python-win32] Building pywin32 with the free MS toolkitcompiler
by Roger Upole other posts by this author
Apr 19 2006 4:41AM messages near this date
[python-win32] Re: Building pywin32 with the free MS toolkitcompiler
|
Re: [python-win32] Building pywin32 with the free MS toolkitcompiler
Mark Hammond wrote:
> > On 4/17/06, Paul Moore <p.f.moore@[...].com> wrote:
> > > On 4/16/06, Paul Moore <p.f.moore@[...].com> wrote:
> > > > I tried building one for myself, but I'm missing some critical
> > > > dependencies (dsound.h?)
> > >
> > > I'm assuming this is from the DirectX SDK, which I'm in the process of
> > > downloading now to try it out. Are there any other downloads I should
> > > get in order to build pywin32? (I have the platform SDK - the setup.py
> > > doesn't mention any others as still being needed, but then again, it
> > > didn't mention the DirectX one either...)
> >
> > Looks like atlbase.h is needed in win32netuse and win32netuser. That's
> > annoying, as it's not freely available, as far as I know.
> >
> > It's possible taht ATL isn't actually needed, though - commenting the
> > includes out results in a successful compile. The link fails with an
> > odd error, though -
>
> Removing atlbase.h just meant that advapi32.lib needed to be added to the
> link command-line - presumably the ATL headers automatically caused that to
> happen. I've just checked in a fix for that and removed that header.
>
> > If I comment out win32net from setup.py, I hit a problem in
> > win32wnet\PyNetresource.cpp, which uses ATL for Unicode conversion
> > macros.
>
> These conversion macros are fairly easy (but not search-replace easy) to
> change, and I do it as I find it necessary.
>
I've removed the ATL macros from win32wnet. (checkin messages are still bouncing)
Roger
_______________________________________________
Python-win32 mailing list
Python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32
Thread:
Roger Upole
Paul Moore
Thomas Heller
|