home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL_Samples / sketch / stdafx.h < prev   
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.1 KB  |  36 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(_WIN32_WCE_PSPC) && (_WIN32_WCE == 201)
  6.     #error "This sample is not available for Gryphon Palm-Size devices."
  7. #endif
  8.  
  9. #if defined(_WIN32_WCE) && (_WIN32_WCE < 200)
  10.     #error "This sample is only compatible with ATLCE 2.0 or later."
  11. #endif
  12.  
  13. #if !defined(AFX_STDAFX_H__D3745038_0D38_11D1_9EB8_006097BA8E24__INCLUDED_)
  14. #define AFX_STDAFX_H__D3745038_0D38_11D1_9EB8_006097BA8E24__INCLUDED_
  15.  
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif // _MSC_VER >= 1000
  19.  
  20.  
  21. #define _WIN32_WINNT 0x0400
  22. #define _ATL_APARTMENT_THREADED
  23.  
  24.  
  25. #include <atlbase.h>
  26. //You may derive a class from CComModule and use it if you want to override
  27. //something, but do not change the name of _Module
  28. extern CComModule _Module;
  29. #include <atlcom.h>
  30. #include <atlctl.h>
  31.  
  32. //{{AFX_INSERT_LOCATION}}
  33. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  34.  
  35. #endif // !defined(AFX_STDAFX_H__D3745038_0D38_11D1_9EB8_006097BA8E24__INCLUDED)
  36.