明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1780|回复: 3

[基础] [原创]在VS 2010 Express版本中进行ObjectARX编程时启动AutoCAD进行程序调试

[复制链接]
发表于 2010-8-28 16:42 | 显示全部楼层 |阅读模式

里面的图太多了,所以直接做成了四个JPG文件上传。大家在看帖的时候调整一下浏览器右下角的页面缩放级别吧。

 

 

文中用到的代码数据如下。
(1)VS Express中的程序配置用户文件:
<?xml version="1.0" encoding="utf-8"?>
<roject ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ropertyGroup C>
    <StartAction>rogram</StartAction>
    <StartProgram>C:\Program Files\AutoCAD 2008\acad.exe</StartProgram>
    <StartArguments>/nologo</StartArguments>
  </PropertyGroup>
  <ropertyGroup C>
    <StartAction>rogram</StartAction>
    <StartProgram>C:\Program Files\AutoCAD 2008\acad.exe</StartProgram>
    <StartArguments>/nologo</StartArguments>
  </PropertyGroup>
  <ropertyGroup>
    <rojectView>rojectFiles</ProjectView>
  </PropertyGroup>
</Project>
<此文件中部分代码在网页浏览器中无法显示,请参照上面的JPG文件进行修改>

(2)AutoCAD启动配置文件:

<configuration>
   <startup>
<!--We always use the latest version of the framework installed on the computer. If you
are having problems then explicitly specify .NET 2.0 by uncommenting the following line.
  <supportedRuntime version="v2.0.50727"/>
-->
    <supportedRuntime version="v2.0.50727"/>  
   </startup>
</configuration>
 

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

评分

参与人数 1威望 +1 明经币 +1 金钱 +10 贡献 +10 激情 +10 收起 理由
雪山飞狐_lzh + 1 + 1 + 10 + 10 + 10 【好评】好文章

查看全部评分

发表于 2010-8-30 21:38 | 显示全部楼层

高手呀,曾经为装了一个速成版好郁闷,现在终于看到解决方法了,谢谢!

发表于 2010-9-25 16:38 | 显示全部楼层

我使用Ultimate进行调试,每次启动CAD都卡在加载acadiso.dwt这里,lz知道怎么解决吗?

发表于 2011-9-12 15:46 | 显示全部楼层
楼主厉害,学习进步。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-3 17:40 , Processed in 0.154569 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表