// stdafx.h : 标准系统包含文件的包含文件, // 或是经常使用但不常更改的 // 特定于项目的包含文件 #pragma once #pragma warning(disable: 4786) //- 'DEBUG workaround' below prevents the MFC or ATL #include-s from pulling //- in "Afx.h" that would force the debug CRT through #pragma-s. #if defined(_DEBUG) && !defined(AC_FULL_DEBUG) #define _DEBUG_WAS_DEFINED #undef _DEBUG #pragma message ("Compiling MFC / STL / ATL header files in release mode.") #endif #pragma pack (push, 8) #pragma warning(disable: 4786 4996) #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料 #endif #include "targetver.h" #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的 #include // MFC 核心组件和标准组件 #include // MFC 扩展 #ifndef _AFX_NO_OLE_SUPPORT #include // MFC OLE 类 #include // MFC OLE 对话框类 #include // MFC 自动化类 #endif // _AFX_NO_OLE_SUPPORT #ifndef _AFX_NO_DB_SUPPORT #include // MFC ODBC 数据库类 #endif // _AFX_NO_DB_SUPPORT #ifndef _AFX_NO_DAO_SUPPORT #include // MFC DAO 数据库类 #endif // _AFX_NO_DAO_SUPPORT #ifndef _AFX_NO_OLE_SUPPORT #include // MFC 对 Internet Explorer 4 公共控件的支持 #endif #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC 对 Windows 公共控件的支持 #endif // _AFX_NO_AFXCMN_SUPPORT #ifdef GRID_EXPORT #define THVAC_UIAPI __declspec( dllexport ) #else #define THVAC_UIAPI __declspec( dllimport ) #endif #ifdef _DEBUG_WAS_DEFINED #define _DEBUG #undef _DEBUG_WAS_DEFINED #endif