stdafx.h 866 B

123456789101112131415161718192021222324252627282930313233
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. //
  5. #pragma once
  6. #include "targetver.h"
  7. #include <stdio.h>
  8. #include <tchar.h>
  9. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  10. #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS // 移除对话框中的 MFC 控件支持
  11. #ifndef VC_EXTRALEAN
  12. #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的信息
  13. #endif
  14. #include <afx.h>
  15. #include <afxwin.h> // MFC 核心组件和标准组件
  16. #include <afxext.h> // MFC 扩展
  17. #ifndef _AFX_NO_OLE_SUPPORT
  18. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  19. #endif
  20. #ifndef _AFX_NO_AFXCMN_SUPPORT
  21. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  22. #endif // _AFX_NO_AFXCMN_SUPPORT
  23. #include <iostream>
  24. // TODO: 在此处引用程序需要的其他头文件