home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c13 / atltrigx / stdafx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  983 b   |  35 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. #if !defined(AFX_STDAFX_H__2C740492_80D3_11D0_89AB_00C04FC2AA17__INCLUDED_)
  6. #define AFX_STDAFX_H__2C740492_80D3_11D0_89AB_00C04FC2AA17__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #define STRICT
  13.  
  14.  
  15. #define _WIN32_WINNT 0x0400
  16. #define _ATL_APARTMENT_THREADED
  17.  
  18.  
  19. #include <atlbase.h>
  20. //You may derive a class from CComModule and use it if you want to override
  21. //something, but do not change the name of _Module
  22. class CExeModule : public CComModule
  23. {
  24. public:
  25.     LONG Unlock();
  26.     DWORD dwThreadID;
  27. };
  28. extern CExeModule _Module;
  29. #include <atlcom.h>
  30.  
  31. //{{AFX_INSERT_LOCATION}}
  32. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  33.  
  34. #endif // !defined(AFX_STDAFX_H__2C740492_80D3_11D0_89AB_00C04FC2AA17__INCLUDED)
  35.