StdAfx.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #pragma once
  5. // visual studio 2005
  6. #define _CRT_SECURE_NO_WARNINGS
  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 95 and Windows NT 4 or later.
  13. #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  14. #endif
  15. #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
  16. #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  17. #endif
  18. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
  19. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
  20. #endif
  21. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  22. // turns off MFC's hiding of some common and often safely ignored warning messages
  23. #define _AFX_ALL_WARNINGS
  24. #include <afxwin.h> // MFC core and standard components
  25. #include <afxext.h> // MFC extensions
  26. #include <afxtempl.h>
  27. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  28. #include <afxcmn.h> // MFC support for Windows Common Controls
  29. #include <assert.h>
  30. #include <string>
  31. using namespace std;
  32. #pragma warning(disable:4786 4800)