Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1:/tmp/cvs-serv7985
Modified Files:
win32uiole.cpp
Log Message:
Magically fix build errors when using standard MSVC6 headers.
Index: win32uiole.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiole.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** win32uiole.cpp 9 Feb 2001 07:35:52 -0000 1.2
--- win32uiole.cpp 12 Nov 2003 00:12:31 -0000 1.3
***************
*** 6,14 ****
#include "win32template.h"
#include "PythonCOM.h"
#include "afxdao.h"
// Sorry about this - OLE support needs MFC private header.
! // Adding MFC source path to include path causes grief!
! //#include "c:\program files\DevStudio\VC\mfc\src\occimpl.h"
#include "..\src\occimpl.h"
--- 6,20 ----
#include "win32template.h"
#include "PythonCOM.h"
+ // not including this here causes compile errors when it *is*
+ // included by later headers, using MSVC6 standard headers
+ // (although replacing transact.h with a later Platform SDK
+ // version does *not* give the error. Whatever.
+ #include "transact.h"
#include "afxdao.h"
// Sorry about this - OLE support needs MFC private header.
! // You MUST install MFC with source-code to build this extension.
! // (and this source must be in "../src" relative to the MFC
! // includes, which it is by default)
#include "..\src\occimpl.h"
|