stdafx.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. #pragma once
  5. #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
  6. #define _CRT_SECURE_NO_DEPRECATE 1
  7. #ifndef VC_EXTRALEAN
  8. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  9. #endif
  10. // Modify the following defines if you have to target a platform prior to the ones specified below.
  11. // Refer to MSDN for the latest info on corresponding values for different platforms.
  12. #ifndef WINVER // Allow use of features specific to Windows XP or later.
  13. #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
  14. #endif
  15. #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
  16. #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
  17. #endif
  18. #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
  19. #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
  20. #endif
  21. #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
  22. #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
  23. #endif
  24. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  25. #include <afxwin.h> // MFC core and standard components
  26. #include <afxext.h> // MFC extensions
  27. #ifndef _AFX_NO_OLE_SUPPORT
  28. #include <afxole.h> // MFC OLE classes
  29. #include <afxodlgs.h> // MFC OLE dialog classes
  30. #include <afxdisp.h> // MFC Automation classes
  31. #endif // _AFX_NO_OLE_SUPPORT
  32. #ifndef _AFX_NO_DB_SUPPORT
  33. #include <afxdb.h> // MFC ODBC database classes
  34. #endif // _AFX_NO_DB_SUPPORT
  35. #ifndef _AFX_NO_DAO_SUPPORT
  36. #include <afxdao.h> // MFC DAO database classes
  37. #endif // _AFX_NO_DAO_SUPPORT
  38. #include "..\UnicodeMacros.h"
  39. #ifndef _AFX_NO_OLE_SUPPORT
  40. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  41. #endif
  42. #ifndef _AFX_NO_AFXCMN_SUPPORT
  43. #include <afxcmn.h> // MFC support for Windows Common Controls
  44. #endif // _AFX_NO_AFXCMN_SUPPORT