StdAfx.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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__C976724A_E115_11D2_970B_00A024EBF6AB__INCLUDED_)
  6. #define AFX_STDAFX_H__C976724A_E115_11D2_970B_00A024EBF6AB__INCLUDED_
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  11. #include <afxwin.h> // MFC core and standard components
  12. #include <afxext.h> // MFC extensions
  13. #include <afxdisp.h> // MFC OLE automation classes
  14. #ifndef _AFX_NO_AFXCMN_SUPPORT
  15. #include <afxcmn.h> // MFC support for Windows Common Controls
  16. #include <afxsock.h> // MFC socket extensions
  17. #endif // _AFX_NO_AFXCMN_SUPPORT
  18. #include <Shlwapi.h>
  19. #include <locale.h>
  20. #include ".\list\SortListCtrl2.h"
  21. //GDI+
  22. #ifndef ULONG_PTR
  23. #define ULONG_PTR unsigned long*
  24. #endif
  25. #include ".\\includes\\gdiplus.h" ////请修改为你的头文件路径
  26. using namespace Gdiplus;
  27. #pragma comment(lib, ".\\lib\\gdiplus.lib") ////请修改为你的.lib文件路径
  28. //{{AFX_INSERT_LOCATION}}
  29. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  30. #ifdef TESTLOCAL
  31. #define TEST_SERVER _T("192.168.1.66")
  32. #endif
  33. #include "CritSection.h"
  34. extern void WriteTextLog(const TCHAR *format, ...);
  35. #endif // !defined(AFX_STDAFX_H__C976724A_E115_11D2_970B_00A024EBF6AB__INCLUDED_)