.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting Object ARX code in Visual Studio 2005

1 REPLY 1
Reply
Message 1 of 2
Amol
228 Views, 1 Reply

Porting Object ARX code in Visual Studio 2005

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
1 REPLY 1
Message 2 of 2
Amol
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 > ).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost