1
0

stdafx.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifndef STRICT
  6. #define STRICT
  7. #endif
  8. // Modify the following defines if you have to target a platform prior to the ones specified below.
  9. // Refer to MSDN for the latest info on corresponding values for different platforms.
  10. #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
  11. #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  12. #endif
  13. #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
  14. #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 2000 or later.
  15. #endif
  16. #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
  17. #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
  18. #endif
  19. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
  20. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
  21. #endif
  22. #define _ATL_APARTMENT_THREADED
  23. #define _ATL_NO_AUTOMATIC_NAMESPACE
  24. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  25. // turns off ATL's hiding of some common and often safely ignored warning messages
  26. #define _ATL_ALL_WARNINGS
  27. #include "resource.h"
  28. //#include <atlbase.h>
  29. //#include <atlcom.h>
  30. //using namespace ATL;