stdafx.h 1.9 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. #ifndef VC_EXTRALEAN
  6. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  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_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  23. #include <afxctl.h> // MFC support for ActiveX Controls
  24. #include <afxext.h> // MFC extensions
  25. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Comon Controls
  26. #ifndef _AFX_NO_AFXCMN_SUPPORT
  27. #include <afxcmn.h> // MFC support for Windows Common Controls
  28. #endif // _AFX_NO_AFXCMN_SUPPORT
  29. // Delete the two includes below if you do not wish to use the MFC
  30. // database classes
  31. #include <afxdb.h> // MFC database classes
  32. #include <afxdao.h> // MFC DAO database classes
  33. #include <afxwin.h>
  34. #include <dispex.h>