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