stdafx.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. //// stdafx.h : 标准系统包含文件的包含文件,
  2. //// 或是经常使用但不常更改的
  3. //// 项目特定的包含文件
  4. //
  5. //#pragma once
  6. //
  7. //#ifndef VC_EXTRALEAN
  8. //#define VC_EXTRALEAN // 从 Windows 标头中排除不常使用的资料
  9. //#endif
  10. //
  11. //// 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
  12. //// 有关不同平台的相应值的最新信息,请参考 MSDN。
  13. //#ifndef WINVER // 允许使用 Windows 95 和 Windows NT 4 或更高版本的特定功能。
  14. //#define WINVER 0x0400 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
  15. //#endif
  16. //
  17. //#ifndef _WIN32_WINNT // 允许使用 Windows NT 4 或更高版本的特定功能。
  18. //#define _WIN32_WINNT 0x0400 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
  19. //#endif
  20. //
  21. //#ifndef _WIN32_WINDOWS // 允许使用 Windows 98 或更高版本的特定功能。
  22. //#define _WIN32_WINDOWS 0x0410 //为 Windows Me 及更新版本改变为适当的值。
  23. //#endif
  24. //
  25. //#ifndef _WIN32_IE // 允许使用 IE 4.0 或更高版本的特定功能。
  26. //#define _WIN32_IE 0x0400 //为 IE 5.0 及更新版本改变为适当的值。
  27. //#endif
  28. //
  29. //#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  30. //
  31. //// 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏
  32. //#define _AFX_ALL_WARNINGS
  33. //
  34. //#include <afxwin.h> // MFC 核心和标准组件
  35. //#include <afxext.h> // MFC 扩展
  36. //#include <afxdisp.h> // MFC 自动化类
  37. //
  38. //#include <afxdtctl.h> // Internet Explorer 4 公共控件的 MFC 支持
  39. //#ifndef _AFX_NO_AFXCMN_SUPPORT
  40. //#include <afxcmn.h> // Windows 公共控件的 MFC 支持
  41. //#endif // _AFX_NO_AFXCMN_SUPPORT
  42. // stdafx.h : include file for standard system include files,
  43. // or project specific include files that are used frequently,
  44. // but are changed infrequently
  45. #pragma once
  46. #define WINVER 0x0602
  47. #define _WIN32_WINNT 0x0602
  48. #ifndef VC_EXTRALEAN
  49. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  50. #endif
  51. // Modify the following defines if you have to target a platform prior to the ones specified below.
  52. // Refer to MSDN for the latest info on corresponding values for different platforms.
  53. #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
  54. #define WINVER 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  55. #endif
  56. #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
  57. #define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  58. #endif
  59. #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
  60. #define _WIN32_WINDOWS 0x0510 // Change this to the appropriate value to target Windows Me or later.
  61. #endif
  62. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
  63. #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
  64. #endif
  65. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  66. // turns off MFC's hiding of some common and often safely ignored warning messages
  67. #define _AFX_ALL_WARNINGS
  68. #include <afxwin.h> // MFC core and standard components
  69. #include <afxext.h> // MFC extensions
  70. #include <afxdisp.h> // MFC Automation classes
  71. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  72. #ifndef _AFX_NO_AFXCMN_SUPPORT
  73. #include <afxcmn.h> // MFC support for Windows Common Controls
  74. #endif // _AFX_NO_AFXCMN_SUPPORT
  75. #include <vector>
  76. using namespace std;
  77. #include "..\..\common\CommonData.h"
  78. #include "..\..\common\AppSettings.h"
  79. #include "..\..\common\LogFile.h"
  80. #include "..\..\common\EComRFMessage_i.h"
  81. #include "..\..\common\EComRFParam_i.h"