home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / tstcon / stdafx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.8 KB  |  49 lines

  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.  
  6. #if !defined(AFX_STDAFX_H__19818502_B837_11D0_8DF1_00C04FB68D60__INCLUDED_)
  7. #define AFX_STDAFX_H__19818502_B837_11D0_8DF1_00C04FB68D60__INCLUDED_
  8.  
  9. #if _MSC_VER >= 1000
  10. #pragma once
  11. #endif // _MSC_VER >= 1000
  12.  
  13. #define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
  14.  
  15. #include <afxwin.h>         // MFC core and standard components
  16. #include <afxext.h>         // MFC extensions
  17. #include <afxole.h>         // MFC OLE classes
  18. #include <afxodlgs.h>       // MFC OLE dialog classes
  19. #include <afxdisp.h>        // MFC OLE automation classes
  20. #ifndef _AFX_NO_AFXCMN_SUPPORT
  21. #include <afxcmn.h>         // MFC support for Windows Common Controls
  22. #endif // _AFX_NO_AFXCMN_SUPPORT
  23. #include <afxpriv.h>
  24. #include <afxctl.h>
  25. #include <afxtempl.h>
  26. #include <afxconv.h>
  27. #include <comcat.h>
  28. #include <windowsx.h>
  29. #include <activscp.h>
  30. #include <objsafe.h>
  31. #include <shlwapi.h>
  32.  
  33. #undef SubclassWindow  // Conflicts with CWnd::SubclassWindow
  34.  
  35. #pragma warning( disable: 4310 )  // Cast truncates constant value
  36. #pragma warning( disable: 4244 )  // Conversion: possible loss of data
  37. #pragma warning( disable: 4099 )  // class/struct confusion
  38.  
  39. #include <comdef.h>
  40.  
  41. #pragma warning( default: 4310 )  // Cast truncates constant value
  42. #pragma warning( default: 4244 )  // Conversion: possible loss of data
  43. #pragma warning( default: 4099 )  // class/struct confusion
  44.  
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  47.  
  48. #endif // !defined(AFX_STDAFX_H__19818502_B837_11D0_8DF1_00C04FB68D60__INCLUDED_)
  49.