home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / adosamp / server / stdafx.h < prev   
Encoding:
C/C++ Source or Header  |  1998-04-03  |  1.6 KB  |  50 lines

  1. // Copyright (C) 1992-1998 Microsoft Corporation
  2. // All rights reserved.
  3. //
  4. // This source code is only intended as a supplement to the
  5. // Microsoft Visual C++ Language  Reference and related
  6. // electronic documentation provided with Microsoft Visual C++.
  7. // See these sources for detailed information regarding the
  8. // Microsoft Visual C++ product.
  9.  
  10. #if !defined(AFX_STDAFX_H__7A31999A_48C0_11D0_AE70_00C04FD7D06E__INCLUDED_)
  11. #define AFX_STDAFX_H__7A31999A_48C0_11D0_AE70_00C04FD7D06E__INCLUDED_
  12.  
  13. // stdafx.h : include file for standard system include files,
  14. //      or project specific include files that are used frequently,
  15. //      but are changed infrequently
  16.  
  17. #define STRICT
  18.  
  19. #define _WIN32_WINNT 0x0400
  20. #define _ATL_APARTMENT_THREADED
  21.  
  22.  
  23. #include <atlbase.h>
  24. //You may derive a class from CComModule and use it if you want to override
  25. //something, but do not change the name of _Module
  26.  
  27. #ifdef _USRDLL
  28. extern CComModule _Module;
  29. #else
  30. class CExeModule : public CComModule
  31. {
  32. public:
  33.     LONG Unlock();
  34.     DWORD dwThreadID;
  35. };
  36. extern CExeModule _Module;
  37. #endif
  38.  
  39. #include <atlcom.h>
  40.  
  41. #include "adosamp.h"
  42. // TO DO: Edit import path
  43. #pragma message ("TO DO:  Add the path to msado10.dll to Tools.Options.Directories.Include Files.  This is usually \"c:\\Program Files\\Common Files\\system\\ado\"")
  44. #import <msado10.dll> raw_interfaces_only no_namespace exclude("DataTypeEnum") exclude("ParameterDirectionEnum")
  45.  
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  48.  
  49. #endif // !defined(AFX_STDAFX_H__7A31999A_48C0_11D0_AE70_00C04FD7D06E__INCLUDED)
  50.