[python-win32] C++ problem (was rebuilding 210 with VC8 woes)

Mark Hammond mhammond at skippinet.com.au
Mon Jan 29 00:20:22 CET 2007


I'm afraid that compile error doesn't ring any bells with me, and I've no
copy of VC8 handy to verify your error with.

> "Howard Lightstone" <howard at eegsoftware.com> wrote in
> news:45B5F71A.3901.14D7808C at howard.eegsoftware.com:
>
> > While trying to rebuild pywin32 using VC8 (after a couple
> of distutils
> > patches...), I have reached my C++ limit.  I got all the way to
> > building pythonwin and ...
> >
> >
> > I am getting an error as follows:
> >
> > d:\python25\pywin32-210\pythonwin\win32uiExt.h(393) : error C2653:
> > 'ThisClass' : is not a class or namespace name
> >         d:\python25\pywin32-210\pythonwin\win32uiExt.h(392) : while
> >         compiling
> > class template static data member 'const AFX_MSGMAP_ENTRY
> > CPythonWndFramework<T>
> > _messageEntries[]'
> >         with
> >         [
> >             T=CFrameWnd
> >         ]
> >         d:\python25\pywin32-210\pythonwin\win32uiExt.h(387) : while
> <snip>
>
> Is there some explanation of how these templates were set up
> for  pythonwin so I can get someplace to start?

I'm not sure what you mean - they were setup by hand creating win32uiExt.h.
They were created to give the win32ui related subclasses common
functionality without a copy-and-paste between various implementations with
different base classes.

I wish I could be more help,

Mark



More information about the Python-win32 mailing list