home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / atlduck / duck / stdafx.h < prev   
C/C++ Source or Header  |  1998-03-26  |  2KB  |  57 lines

  1. // stdafx.h : include file for standard system include files,
  2. //      or project specific include files that are used frequently,
  3. //      but are changed infrequently
  4. //
  5. // This is a part of the Active Template Library.
  6. // Copyright (C) 1996-1998 Microsoft Corporation
  7. // All rights reserved.
  8. //
  9. // This source code is only intended as a supplement to the
  10. // Active Template Library Reference and related
  11. // electronic documentation provided with the library.
  12. // See these sources for detailed information regarding the
  13. // Active Template Library product.
  14.  
  15. #if !defined(AFX_STDAFX_H__120B72A6_65BF_11D0_9DDC_00A0C9034892__INCLUDED_)
  16. #define AFX_STDAFX_H__120B72A6_65BF_11D0_9DDC_00A0C9034892__INCLUDED_
  17.  
  18.  
  19. #ifdef _DEBUG
  20. #define _ATL_DEBUG_QI
  21. #define _ATL_DEBUG_REFCOUNT
  22. #endif
  23.  
  24. #if _MSC_VER >= 1000
  25. #pragma once
  26. #endif // _MSC_VER >= 1000
  27.  
  28. #define STRICT
  29.  
  30.  
  31. #define _WIN32_WINNT 0x0400
  32. #define _ATL_APARTMENT_THREADED
  33.  
  34.  
  35. #include <atlbase.h>
  36.  
  37. //You may derive a class from CComModule and use it if you want to override
  38. //something, but do not change the name of _Module
  39. class CExeModule : public CComModule
  40. {
  41. public:
  42.     LONG Unlock();
  43.     DWORD dwThreadID;
  44. };
  45. extern CExeModule _Module;
  46. #include <atlwin.h>
  47. #include <atlcom.h>
  48.  
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51.  
  52. #ifndef UNUSED_ALWAYS
  53. #define UNUSED_ALWAYS(x)  (x)
  54. #endif
  55.  
  56. #endif // !defined(AFX_STDAFX_H__120B72A6_65BF_11D0_9DDC_00A0C9034892__INCLUDED)
  57.