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

  1. // premin.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. // save by having dummy critical sections and simple ++/-- operators
  16. // instead of InterlockedIncrement()/InterlockedDecrement() calls
  17. #define _ATL_SINGLE_THREAD
  18.  
  19.  
  20. #include <atlbase.h>
  21.  
  22. // You may derive a class from CComModule and use it if you want
  23. // to override something, but do not change the name of _Module
  24.  
  25. extern CComModule _Module;
  26.  
  27. #include <atlcom.h>
  28.