.NET

Reply
Valued Contributor
Amol
Posts: 54
Registered: ‎07-07-2005
Message 1 of 2 (90 Views)

Porting Object ARX code in Visual Studio 2005

90 Views, 1 Replies
07-13-2006 11:03 PM
Hi,

We have an add-on to AutoCAD 2006 which we have developed in Visual Studio 2003 using ObjectARX technology.

We now want that our add-on works with AutoCAD 2007 as well - this is not happening because we need to re-build our code using ObjectARX 2007 on MS VS 2005.

We downloaded the ObjectARX 2007 and ported our code into Visual Studio 2005. We resolved the linker issues and all other issues regarding the UNICODE build (We understand previous versions of ObjectARX required MBCS build but ObjectARX 2007 and onwards requires Unicode builds).
We resolved all these issues and have built our new ARX file which should create a menu in ACAD. But alas !! the ARX is not getting loaded in AutoCAD. We debugged and found that string assignment operations are leading into a fatal exception and the dll is not getting loaded. The RHS in the string assignments is pointing to a .

We urgently need to resolve this issue. Hence, request the help of you guys if you know how to do this. Please note we have done a Unicode build. It will be great if you point us to a document which illustrates all the precautions that one needs to take care while porting the ObjectARX2005 ARX codes(MS VS 2003) into ObjectARX2007 (MS VS 2005) seamlessly

TIA.

Sincerely,
Amol
Valued Contributor
Amol
Posts: 54
Registered: ‎07-07-2005
Message 2 of 2 (90 Views)

Re: Porting Object ARX code in Visual Studio 2005

07-13-2006 11:06 PM in reply to: Amol
There is missing info in the original query posted :

The RHS in the string assignments is pointing to a bad ppointer (< bad ptr > ).

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community