home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / dcom / atlcont / stdafx.h < prev   
C/C++ Source or Header  |  1998-04-02  |  657b  |  23 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. #define STRICT
  5.  
  6. #define _ATL_APARTMENT_THREADED
  7. #define _WIN32_DCOM 0x0400
  8.  
  9. #include <atlbase.h>
  10. //You may derive a class from CComModule and use it if you want to override
  11. //something, but do not change the name of _Module
  12. class CExeModule : public CComModule
  13. {
  14. public:
  15.     LONG Unlock();
  16.     DWORD dwThreadID;
  17. };
  18. extern CExeModule _Module;
  19. #include <atlcom.h>
  20. #include <atlctl.h>
  21. #include <atlwin.h>
  22.  
  23. #import "../drawctl/drawctl.tlb" no_namespace raw_interfaces_only