1 // mfcpch.h : include file for standard system include files, 2 // or project specific include files that are used frequently, but 3 // are changed infrequently 4 // 5 // For Unix and mac the file does nothing. It needs to be included in all cpp 6 // files for compatibility with the PC pre-compiled header mechanism. 7 #ifdef __MSW32__ 8 #ifndef _AFXDLL 9 #define WIN32_LEAN_AND_MEAN 10 #define STRICT 1 11 //#include <windows.h> 12 #include <stdlib.h> 13 #else 14 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 15 16 #include <afxwin.h> // mfc core and standard components 17 #include <afxext.h> // mfc extensions 18 19 #ifndef _AFX_NO_OLE_SUPPORT 20 #include <afxole.h> // mfc ole classes 21 #include <afxodlgs.h> // mfc ole dialog classes 22 #include <afxdisp.h> // mfc ole automation classes 23 #endif // _AFX_NO_OLE_SUPPORT 24 25 #ifndef _AFX_NO_DB_SUPPORT 26 #include <afxdb.h> // mfc odbc database classes 27 #endif // _AFX_NO_DB_SUPPORT 28 29 #ifndef _AFX_NO_DAO_SUPPORT 30 #include <afxdao.h> // mfc dao database classes 31 #endif // _AFX_NO_DAO_SUPPORT 32 33 #ifndef _AFX_NO_AFXCMN_SUPPORT 34 #include <afxcmn.h> // mfc support for windows 95 common controls 35 #endif // _AFX_NO_AFXCMN_SUPPORT 36 #endif 37 #endif 38