framework.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #pragma once
  2. // stdafx.h : include file for standard system include files,
  3. // or project specific include files that are used frequently, but
  4. // are changed infrequently
  5. //
  6. #if !defined(AFX_STDAFX_H__293E641A_6D1B_4F78_AAC3_BF2253E98922__INCLUDED_)
  7. #define AFX_STDAFX_H__293E641A_6D1B_4F78_AAC3_BF2253E98922__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. #ifndef _SECURE_ATL
  12. #define _SECURE_ATL 1
  13. #endif
  14. #ifndef VC_EXTRALEAN
  15. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  16. #endif
  17. // 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
  18. // 有关不同平台的相应值的最新信息,请参考 MSDN。
  19. #ifndef WINVER // 允许使用特定于 Windows XP 或更高版本的功能。
  20. #define WINVER 0x0501 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
  21. #endif
  22. #ifndef _WIN32_WINNT // 允许使用特定于 Windows XP 或更高版本的功能。
  23. #define _WIN32_WINNT 0x0501 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
  24. #endif
  25. #ifndef _WIN32_WINDOWS // 允许使用特定于 Windows 98 或更高版本的功能。
  26. #define _WIN32_WINDOWS 0x0410 // 将它更改为适合 Windows Me 或更高版本的相应值。
  27. #endif
  28. #ifndef _WIN32_IE // 允许使用特定于 IE 6.0 或更高版本的功能。
  29. #define _WIN32_IE 0x0600 // 将此值更改为相应的值,以适用于 IE 的其他版本。值。
  30. #endif
  31. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  32. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  33. #pragma warning(disable:4996)
  34. #define _CRT_SECURE_NO_WARNINGS
  35. #define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
  36. #define _WIN32_DCOM
  37. //#define _CRTDBG_MAP_ALLOC
  38. #include <stdlib.h>
  39. #include <crtdbg.h>
  40. #include <atlstr.h>
  41. #include <windows.h>
  42. // TODO: reference additional headers your program requires here
  43. #include <tchar.h>
  44. #include <winsock2.h>
  45. #include "../__INCLUDE/SysModule.h"
  46. #include <functional>
  47. #include <string>
  48. #include <regex>
  49. #include <vector>
  50. #include <locale>
  51. #include <string_view>
  52. #include <codecvt>
  53. #include <cpr/api.h>
  54. #include <fmt/ostream.h>
  55. #include <locale>
  56. #include <codecvt>
  57. #include<memory>
  58. #include <algorithm>
  59. #define ASSERT ATLASSERT
  60. #define TRACE ATLTRACE
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_STDAFX_H__293E641A_6D1B_4F78_AAC3_BF2253E98922__INCLUDED_)