105 lines
2.3 KiB
C
105 lines
2.3 KiB
C
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
#ifndef __STDAFX_H
|
|
#define __STDAFX_H
|
|
|
|
#pragma warning(disable: 4068)
|
|
#pragma warning(disable: 4786)
|
|
#pragma warning(disable : 4996)
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#define STRICT
|
|
#ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0501
|
|
#endif
|
|
|
|
// 'DEBUG workaround' below prevents the MFC or ATL #include-s
|
|
// from pulling in "afx.h" that would force the debug CRT through
|
|
// #pragma-s.
|
|
#if defined(_DEBUG)
|
|
#define _DEBUG_WAS_DEFINED
|
|
#undef _DEBUG
|
|
#pragma message (" Compiling MFC header files in release mode.")
|
|
#endif
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
#include <afxole.h> // MFC OLE classes
|
|
#include <afxodlgs.h> // MFC OLE dialog classes
|
|
#include <afxdisp.h> // MFC OLE automation classes
|
|
#endif // _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
|
|
#include <afxtempl.h>
|
|
#include "math.h"
|
|
|
|
#include "pp3d.h"
|
|
#include "class_conversion.h"
|
|
|
|
#define I_AM_TCH_KERNAL
|
|
#define TARCH_EXP __declspec( dllexport )
|
|
#define TARCH_IMPEXP __declspec( dllexport )
|
|
#define TUTIL_IMPEXP
|
|
#define GEOAPI __declspec( dllexport )
|
|
#define TDBFUTILITY_IMPEXP
|
|
|
|
#include "dbapserv.h"
|
|
#include "migrtion.h"
|
|
|
|
// AutoCAD ARX Files
|
|
#include "dbmain.h"
|
|
#include "dbents.h"
|
|
#include "aced.h"
|
|
#include "acgi.h"
|
|
#include "dbsymtb.h"
|
|
#include "rxdefs.h"
|
|
#include "geassign.h"
|
|
#include "dbidmap.h"
|
|
#include "dbhatch.h"
|
|
#include "DbRegion.h"
|
|
#include "DbSol3d.h"
|
|
#include "rxmfcapi.h"
|
|
#include "acdocman.h"
|
|
#include "rxregsvc.h"
|
|
#include "AcExtensionModule.h"
|
|
#include "adui.h"
|
|
#include "acui.h"
|
|
#include "acuicombobox.h"
|
|
|
|
#include "TMigration.h"
|
|
#include "tch_kernal.h"
|
|
#include "TchKernalGlobalFunc.h"
|
|
//#include "TGAs.h"
|
|
|
|
#ifndef NDEBUG
|
|
/*// 使得Debug版本,能够正确实现ASSERT和VERIFY(在没有_DEBUG宏的情况下)
|
|
#ifdef ASSERT
|
|
#undef ASSERT
|
|
#endifs
|
|
|
|
//#define ASSERT(n) assert(n)
|
|
|
|
#ifdef VERIFY
|
|
#undef VERIFY
|
|
#endif
|
|
#define VERIFY(n) assert(n)*/
|
|
#endif
|
|
|
|
#endif
|
|
|