明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2297|回复: 5

救命啊,为什么ARX 2006生成的arx文件不能加载啊?

[复制链接]
发表于 2005-9-29 10:25:00 | 显示全部楼层 |阅读模式

开发环境:VS.NET 2003 + ARX 2006
AutoCAD版本:2006

开发了一个简单的应用,在AUTOCAD2006中加载不了,然后干脆用Wizard生成一个空的应用,编译后在AUTOCAD2006中还是不能加载,什么提示都没有,只是提示加载失败。郁闷啊。。。

发表于 2005-10-2 00:38:00 | 显示全部楼层

这是因为VS.NET 2003 与 ARX 2006不兼容。

改用:

开发环境:VS.NET 2002 + ARX 2006
AUTOCAD版本:2006

肯定就没问题了。

发表于 2005-10-2 18:25:00 | 显示全部楼层

同意楼上的说法

发表于 2005-10-3 12:05:00 | 显示全部楼层

好像从arx2004起都是用 VS.NET 2002 了

 

发表于 2005-10-4 20:17:00 | 显示全部楼层
我也遇到了你一样的问题我是OBJECTARX2005+VS2003.NET在ACAD2005中也加载不了,难道真是VS2003和OBJECTARX2004-2006不兼容
发表于 2005-10-10 21:37:00 | 显示全部楼层

好像是这样的,偶装了VS2003后,没有编译成功过,找了ARX2006的帮助,有如下一段:

AutoCAD 2006 supports both managed (.NET) applications and unmanaged ObjectARX applications. For managed applications, any development environment that builds applications for the .NET framework is acceptable. For unmanaged applications, the Microsoft Development Environment 2002, Version 7.0, is required.

Because ObjectARX libraries are built with the 7.0 versions of Microsoft's MFC and C-runtime libraries, unmanaged ObjectARX applications built with the 7.1 libraries of Microsoft Visual Studio .NET 2003 (code-named "Everett") may experience memory-allocation conflicts.

When AutoCAD 2006 attempts to load an application that uses incompatible runtime libraries, it posts a dialog box that lets the user choose whether to allow such applications to be loaded. This behavior applies to unmanaged applications built with Microsoft Visual Studio 6, as well as those built with Everett.

Developers who use the Everett environment for unmanaged ObjectARX development do so without warranty and at their own risk.

看来目前VS2002做开发还是比较合适,只是现在VS2002很难找啊

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-26 04:25 , Processed in 0.157170 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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