[pywin32-checkins] pywin32/Pythonwin win32ui.h,1.5,1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-07-05 05:31:38
|
Update of /cvsroot/pywin32/pywin32/Pythonwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4896 Modified Files: win32ui.h Log Message: Add reference to MFC assembly for vs2005 Index: win32ui.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32ui.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** win32ui.h 3 Jun 2007 12:35:58 -0000 1.5 --- win32ui.h 5 Jul 2007 05:31:39 -0000 1.6 *************** *** 27,30 **** --- 27,36 ---- #include <afxext.h> // Also unusual - needed for CCreateContext. + // For MFC8 (VS2005), we need to nominate the MFC assembly - may as well do + // it here so its done once for all projects! + #if _MFC_VER >= 0x0800 + # pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='*' publicKeyToken='fc8b3b9a1e18e3b' language='*'\"") + #endif + #define DOINCREF(o) Py_INCREF(o) #define DODECREF(o) Py_DECREF(o) |