Author Topic: ARX Application - Incompatible  (Read 5590 times)

0 Members and 1 Guest are viewing this topic.

VVeli

  • Newt
  • Posts: 21
ARX Application - Incompatible
« on: August 23, 2012, 05:27:11 AM »
Hi,
have you any problems to load ARX apps in AutoCAD 2013 64bit?
I have got a popup window that says: "AutoCAD is attempting to load <..\program.arx> which is not compatible with AutoCAD. What you want to do?"
1. Load this application (default)
2. Load all applications
3. Skip loading this application
4. Skip loading all applications

I select the first option and ARX app is loaded properly and working but that popup window is very annoying.
How can I prevent that popup window to came in every AutoCAD startup?

Cheers
Veli V.

owenwengerd

  • Bull Frog
  • Posts: 441
Re: ARX Application - Incompatible
« Reply #1 on: August 23, 2012, 10:34:01 AM »
Your application is using a different version of the MFC or C Runtime than the ones used by AutoCAD, which is going to result in problems or crashes any time you pass MFC or CRT objects across module boundaries. You need to change your application so it uses the correct MFC and C runtimes.

VVeli

  • Newt
  • Posts: 21
Re: ARX Application - Incompatible
« Reply #2 on: August 24, 2012, 03:41:48 AM »
Ok. Thanks Owen. Platform Toolset was 90. I change that to value 100. It leads to following situation: http://forums.autodesk.com/t5/Autodesk-ObjectARX/Linker-Error/td-p/3414043. So I have to check my ARX project StdAfx.h. I think that ObjectARX wizard for AutoCAD 2013 is not properly working.

Solution founded:
I commented out few rows which set  on StdAfx.h file. Now it leads to succesfull build.
-Veli V.
« Last Edit: August 24, 2012, 06:15:48 AM by VVeli »

LeeA

  • Mosquito
  • Posts: 14
Re: ARX Application - Incompatible
« Reply #3 on: August 24, 2012, 03:42:23 PM »
Based on the VS screenshot, are you loading a Debug version of the DLL?

What happens if you load a Release version of the DLL?

VVeli

  • Newt
  • Posts: 21
Re: ARX Application - Incompatible
« Reply #4 on: August 27, 2012, 02:11:17 AM »
To LeeA:
Q1: Yes I loaded debug version.
Q2: Release version loaded properly. In release mode the Platform Toolset value is set to 100 too.

The ARXDBG source codes are also a good place find out how 2013 project should be configured.
-Veli