home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / turbocad / v8trial / TurboCADv8ProfessionalNoReg.exe / Data.Cab / F38810_StdAfx.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  2.3 KB  |  72 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // stdafx.h : include file for standard system include files,
  12. //      or project specific include files that are used frequently,
  13. //      but are changed infrequently
  14.  
  15. #if !defined(AFX_STDAFX_H__99E204FE_1561_4B08_AB96_0763FA546522__INCLUDED_)
  16. #define AFX_STDAFX_H__99E204FE_1561_4B08_AB96_0763FA546522__INCLUDED_
  17.  
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21.  
  22. #define STRICT
  23. #ifndef _WIN32_WINNT
  24. #define _WIN32_WINNT 0x0400
  25. #endif
  26. #define _ATL_APARTMENT_THREADED
  27.  
  28. #include <afxwin.h>
  29. #include <afxdisp.h>
  30.  
  31. #include <atlbase.h>
  32. //You may derive a class from CComModule and use it if you want to override
  33. //something, but do not change the name of _Module
  34. extern CComModule _Module;
  35. #include <atlcom.h>
  36. typedef struct tagPAPERSPACEINFO
  37. {
  38.     BOOL bPaperOrientation;
  39.     CString cstrPSpaceName;
  40. } PAPERSPACEINFO;
  41.  
  42. #include <afxdlgs.h>
  43.  
  44. extern COleVariant varMissing;
  45. extern COleVariant varTrue;
  46. extern COleVariant varFalse;
  47.  
  48. // TurboCAD SDK: Interfaces for Imsigx objects
  49. #include "imsigx.h"
  50. #include "gxintf.h"
  51. #include "gxmps.h"
  52.  
  53. #include "xdbtool.h"
  54.  
  55.  
  56. #define TYPELIB_MAJOR    1
  57. #define TYPELIB_MINOR    0
  58. #define NUM_TOOLS        1
  59.  
  60.  
  61. #define CHECK_HRESULT(hr) if (FAILED(hr)) throw hr;
  62. #define CHECK_POINTER(p) if (p == NULL) throw E_OUTOFMEMORY;
  63. #define TRACE_EXCEPTION(f) TRACE1("Exception in %s\n", ##f);
  64.  
  65. #define RELEASE(pI) if (pI != NULL) {pI->Release(); pI = NULL;}
  66. #define ADDREF(pI) pI != NULL ? pI->AddRef() : 0;
  67.  
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  70.  
  71. #endif // !defined(AFX_STDAFX_H__99E204FE_1561_4B08_AB96_0763FA546522__INCLUDED)
  72.