framework.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. #ifndef VC_EXTRALEAN
  3. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  4. #endif
  5. #include "targetver.h"
  6. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  7. #include <afxwin.h> // MFC 核心组件和标准组件
  8. #include <afxext.h> // MFC 扩展
  9. #ifndef _AFX_NO_OLE_SUPPORT
  10. #include <afxole.h> // MFC OLE 类
  11. #include <afxodlgs.h> // MFC OLE 对话框类
  12. #include <afxdisp.h> // MFC 自动化类
  13. #endif // _AFX_NO_OLE_SUPPORT
  14. #ifndef _AFX_NO_DB_SUPPORT
  15. #include <afxdb.h> // MFC ODBC 数据库类
  16. #endif // _AFX_NO_DB_SUPPORT
  17. #ifndef _AFX_NO_DAO_SUPPORT
  18. #include <afxdao.h> // MFC DAO 数据库类
  19. #endif // _AFX_NO_DAO_SUPPORT
  20. #ifndef _AFX_NO_OLE_SUPPORT
  21. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  22. #endif
  23. #ifndef _AFX_NO_AFXCMN_SUPPORT
  24. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  25. #endif // _AFX_NO_AFXCMN_SUPPORT
  26. #include <afxsock.h> // MFC 套接字扩展