StdAfx.h 1.7 KB

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