StdAfx.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. //
  5. #if !defined(AFX_STDAFX_H__56F3D184_7208_47FE_AFE2_E270325F356A__INCLUDED_)
  6. #define AFX_STDAFX_H__56F3D184_7208_47FE_AFE2_E270325F356A__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #pragma warning(disable : 4995)
  11. //remove 2005 warnings
  12. #define _CRT_SECURE_NO_DEPRECATE 1
  13. #define _CRT_NON_CONFORMING_SWPRINTFS 1
  14. #define HITTEST_RET LRESULT
  15. #define _WIN32_WINNT 0x0600
  16. #define WINVER 0x0600
  17. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  18. #include <afxwin.h> // MFC core and standard components
  19. #include <afxext.h> // MFC extensions
  20. #include <afxdisp.h> // MFC Automation classes
  21. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  22. #ifndef _AFX_NO_AFXCMN_SUPPORT
  23. #include <afxcmn.h> // MFC support for Windows Common Controls
  24. #endif // _AFX_NO_AFXCMN_SUPPORT
  25. #include <afxole.h>
  26. #include <Winsock2.h>
  27. #include "UnicodeMacros.h"
  28. #include <imm.h>
  29. #include <afxcontrolbars.h>
  30. #import "riched20.dll" raw_interfaces_only, raw_native_types, no_namespace, named_guids, exclude("UINT_PTR"), exclude("LONG_PTR")
  31. //{{AFX_INSERT_LOCATION}}
  32. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  33. #endif // !defined(AFX_STDAFX_H__56F3D184_7208_47FE_AFE2_E270325F356A__INCLUDED_)