ObjectArx 2015 Wizard

ObjectArx 2015 Wizard

dwang30
Participant Participant
1,546 Views
4 Replies
Message 1 of 5

ObjectArx 2015 Wizard

dwang30
Participant
Participant

Hello

 

I am new for ObjectARX. I Installed ObjectARX Wizard 2015. However I try create a project by using the template "ObjectARX/DBX Project", it doesn't work. Please see the following snapshot. Could anyone can help? I am using VS 2012 Professional

 

Thanks in Advance

 

Image0001.PNG

 

Image0002.PNG

 

 

0 Likes
Accepted solutions (2)
1,547 Views
4 Replies
Replies (4)
Message 2 of 5

tbrammer
Advisor
Advisor

Can you please copy & paste the build errors that Visual Studio displays in the output window?

"project creation failed" does not provide very much information Smiley Wink.

 

Just guessing: Did you add the appropriate ObjectARX directories to the include directories and library include directories?

 

 


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes
Message 3 of 5

dwang30
Participant
Participant
Accepted solution

tbrammer

 

Thank you. I fixed the problem. I run the installation under administaror right. It works. I have another problem. I currently use AutoCAD 2014 64 bit. However I installed ObjectARX 2015. I compiled the sample code for 64-bit. When I load the arx file, it gave me the following error

 

Command: APPLOAD
inputpoint.arx is incompatible with this version of AutoCAD.
AcRxDynamicLinker failed to load 'g:\my documents\macro\inputpoint.arx'
C:\Program Files\Autodesk\AutoCAD 2014\acad.exeUnable to load inputpoint.arx file.

 

Does this means that AutoCAD 2014 does't support the arx compiled from ObjectARX 2015?

 

Thanks in Advance

 

DW

 

 

0 Likes
Message 4 of 5

tbrammer
Advisor
Advisor
Accepted solution

> Does this means that AutoCAD 2014 does't support the arx compiled from ObjectARX 2015?

 

Exactly. The DWG format is compatible. The binaries are not. For each release of AutoCAD you have to use the correct compiler version and the correct ARX version:

 

AutoCAD Version | Compiler/Toolset         | Compatible ARX SDK

----------------+--------------------------+-------------------

2016 (R20.1)    | VS2012 Update 4 / v110   | 2015,2016

2015 (R20.0)    | VS2012 Update 4 / v110   | 2015

----------------+--------------------------+-------------------

2014 (R19.1)    | VS2010 SP1      / v100   | 2013,2014

2013 (R19.0)    | VS2010 SP1      / v100   | 2013

----------------+--------------------------+-------------------

2012 (R18.2)    | VS2008 SP1      / v90    | 2010,2011,2012

2011 (R18.1)    | VS2008 SP1      / v90    | 2010,2011

2010 (R18.0)    | VS2008 SP1      / v90    | 2010

 

All AutoCAD versions with the same "major release number" (i.e. R20 for Acad 2016 + 2015) are "binary compatible". This means an ARX compiled with ObjectARX 2015 will also run under AutoCAD 2016. But not vice versa: An ARX compiled with ObjectARX 2016 will not run under AutoCAD 2015.

With every new major release Autodesk changes to the lates Visual Studio compiler - which breaks binary compatibility.

 

 

 


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

Message 5 of 5

dwang30
Participant
Participant

Thank you tbrammer. It very helpful.

 

DW

0 Likes