StdAfx.h
Upload User: xiyinban
Upload Date: 2013-06-01
Package Size: 630k
Code Size: 2k
Category:

Browser Client

Development Platform:

Visual C++

  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__19E497BF_4ECF_11D3_9B1D_0000E85300AE__INCLUDED_)
  6. #define AFX_STDAFX_H__19E497BF_4ECF_11D3_9B1D_0000E85300AE__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define CHINESE_VER
  11. #define DWORD_PTR DWORD
  12. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  13. //reduce the size of the exe.
  14. //#include "AggressiveOptimize.h"
  15. #ifdef NDEBUG
  16. //328 #pragma comment(linker,"/opt:nowin98")
  17. #pragma comment(linker,"/ALIGN:4096")
  18. // /Og (global optimizations), /Os (favor small code), /Oy (no frame pointers)
  19. //#pragma optimize("gsy",on)
  20. #pragma comment(linker,"/RELEASE")
  21. //#pragma comment(linker, "/HEAP:2097152")
  22. #endif //NDEBUG
  23. //end 328
  24. #include <afxwin.h>         // MFC core and standard components
  25. #include <afxext.h>         // MFC extensions
  26. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  27. #ifndef _AFX_NO_AFXCMN_SUPPORT
  28. #include <afxcmn.h> // MFC support for Windows Common Controls
  29. #endif // _AFX_NO_AFXCMN_SUPPORT
  30. #include <afxhtml.h> // MFC HTML view support
  31. #define _SCB_REPLACE_MINIFRAME
  32. //#define _SCB_MINIFRAME_CAPTION
  33. #include "sizecbar.h"
  34. #include "scbarg.h"
  35. #include "scbarcf.h"
  36. #define baseCMyBar CSizingControlBarCF
  37. #define _ATL_APARTMENT_THREADED
  38. #include <atlbase.h>
  39. //You may derive a class from CComModule and use it if you want to override
  40. //something, but do not change the name of _Module
  41. class CMyIEModule : public CComModule
  42. {
  43. public:
  44. LONG Unlock();
  45. LONG Lock();
  46. LPCTSTR FindOneOf(LPCTSTR p1, LPCTSTR p2);
  47. DWORD dwThreadID;
  48. };
  49. extern CMyIEModule _Module;
  50. #include <atlcom.h>
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_STDAFX_H__19E497BF_4ECF_11D3_9B1D_0000E85300AE__INCLUDED_)