救命啊,为什么ARX 2006生成的arx文件不能加载啊?
<P>开发环境:VS.NET 2003 + ARX 2006<BR>AUTOCAD版本:2006</P><P>开发了一个简单的应用,在AUTOCAD2006中加载不了,然后干脆用Wizard生成一个空的应用,编译后在AUTOCAD2006中还是不能加载,什么提示都没有,只是提示加载失败。郁闷啊。。。</P> <P>这是因为VS.NET 2003 与 ARX 2006不兼容。</P>
<P>改用:</P>
<P>开发环境:VS.NET 2002 + ARX 2006<BR>AUTOCAD版本:2006</P>
<P>肯定就没问题了。</P> <P>同意楼上的说法</P> <P>好像从arx2004起都是用 VS.NET 2002 了</P>
<P> </P> 我也遇到了你一样的问题我是OBJECTARX2005+VS2003.NET在ACAD2005中也加载不了,难道真是VS2003和OBJECTARX2004-2006不兼容 <P>好像是这样的,偶装了VS2003后,没有编译成功过,找了ARX2006的帮助,有如下一段:</P>
<P>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.</P>
<P>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.</P>
<P>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.</P>
<P>Developers who use the Everett environment for unmanaged ObjectARX development do so without warranty and at their own risk.</P>
<P>看来目前VS2002做开发还是比较合适,只是现在VS2002很难找啊</P>
页:
[1]