- UID
- 768270
- 积分
- 17
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2017-5-15
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-6-2 16:57:28
|
显示全部楼层
你是说这样吗?
// (C) Copyright 2002-2012 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Use, duplication, or disclosure by the U.S. ** is subject to
// restrictions set forth in FAR 52.227-19 (Commercial Computer
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
// (Rights in Technical Data and Computer Software), as applicable.
//
//-----------------------------------------------------------------------------
//- StdAfx.h : include file for standard system include files,
//- or project specific include files that are used frequently,
//- but are changed infrequently
//-----------------------------------------------------------------------------
//#if defined(_DEBUG) && !defined(AC_FULL_DEBUG)
//#pragma message("Building debug version of this module to be used with non-debug/Prod AutoCAD")
//#define DEBUG_THIS_ONLY
#undef _DEBUG
//#endif
#pragma once
#define ARX0525_MODULE
#pragma pack (push, 8)
#pragma warning(disable: 4786 4996)
//#pragma warning(disable: 4098)
//-----------------------------------------------------------------------------
#define STRICT
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN //- Exclude rarely-used stuff from Windows headers
#endif
//- Modify the following defines if you have to target a platform prior to the ones specified below.
//- Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER //- Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0601 //- Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#endif
//- ObjectARX and OMF headers needs this
#include <map>
//-----------------------------------------------------------------------------
#include <afxwin.h> //- MFC core and standard components
#include <afxext.h> //- MFC extensions
#include <afxcmn.h> //- MFC support for Windows Common Controls
//-----------------------------------------------------------------------------
//- Include ObjectDBX/ObjectARX headers
//- Uncomment one of the following lines to bring a given library in your project.
//#define _BREP_SUPPORT_ //- Support for the BRep API
//#define _HLR_SUPPORT_ //- Support for the Hidden Line Removal API
//#define _AMODELER_SUPPORT_ //- Support for the AModeler API
//#define _ASE_SUPPORT_ //- Support for the ASI/ASE API
//#define _RENDER_SUPPORT_ //- Support for the AutoCAD Render API
//#define _ARX_CUSTOM_DRAG_N_DROP_ //- Support for the ObjectARX Drag'n Drop API
//#define _INC_LEAGACY_HEADERS_ //- Include legacy headers in this project
#include "arxHeaders.h"
//-----------------------------------------------------------------------------
#include "DocData.h" //- Your document specific data class holder
#include <afxcontrolbars.h>
//- Declare it as an extern here so that it becomes available in all modules
extern AcApDataManager<CDocData> DocVars ;
#include "math.h"
const double Deg2Rad = atan(1.0) / 45;
#pragma pack (pop)
但断点还是不好用
|
|