12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #pragma once
- #ifndef VC_EXTRALEAN
- #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
- #endif
- // 以下宏定义要求的最低平台。要求的最低平台
- // 是具有运行应用程序所需功能的 Windows、Internet Explorer 等产品的
- // 最早版本。通过在指定版本及更低版本的平台上启用所有可用的功能,宏可以
- // 正常工作。
- // 如果必须要针对低于以下指定版本的平台,请修改下列定义。
- // 有关不同平台对应值的最新信息,请参考 MSDN。
- #ifndef WINVER // 指定要求的最低平台是 Windows Vista。
- #define WINVER 0x0600 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
- #endif
- #ifndef _WIN32_WINNT // 指定要求的最低平台是 Windows Vista。
- #define _WIN32_WINNT 0x0600 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
- #endif
- #ifndef _WIN32_WINDOWS // 指定要求的最低平台是 Windows 98。
- #define _WIN32_WINDOWS 0x0410 // 将此值更改为适当的值,以适用于 Windows Me 或更高版本。
- #endif
- #ifndef _WIN32_IE // 指定要求的最低平台是 Internet Explorer 7.0。
- #define _WIN32_IE 0x0700 // 将此值更改为相应的值,以适用于 IE 的其他版本。
- #endif
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
- #include <afxwin.h> // MFC 核心组件和标准组件
- #include <afxext.h> // MFC 扩展
- #ifndef _AFX_NO_OLE_SUPPORT
- #include <afxole.h> // MFC OLE 类
- #include <afxodlgs.h> // MFC OLE 对话框类
- #include <afxdisp.h> // MFC 自动化类
- #endif // _AFX_NO_OLE_SUPPORT
- #ifndef _AFX_NO_DB_SUPPORT
- #include <afxdb.h> // MFC ODBC 数据库类
- #endif // _AFX_NO_DB_SUPPORT
- #ifndef _AFX_NO_DAO_SUPPORT
- #include <afxdao.h> // MFC DAO 数据库类
- #endif // _AFX_NO_DAO_SUPPORT
- #ifndef _AFX_NO_OLE_SUPPORT
- #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
- #endif
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
- #endif // _AFX_NO_AFXCMN_SUPPORT
|