- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am building up my ObjectARX2024 program for AutoCAD 2024. The codes are from my ObjectARX2023 program (AutoCAD2023). I installed ObjectARX2024 and configured project parameters in my Visual Studio 2022 project properties. The debug and release versions of this program were compiled and built very smoothly and successfully.
But when I tested the debug version of the program, a lot of errors happened: first of all, I could not debug the code step by step like my previous ObjectARX program, even though I pointed the working directory of my program to the Autoload Plugin folder.
Working Directory: ..\..\Program Files\Autodesk\ApplicationPlugins\MyObject.bundle\Contents
Secondly, the line I set the breaking point on didn't stop during the debugging.
Thirdly, some codes were not executed during the debug. I had some UI interface security dialog codes which were not executed during the debugging.
Fourthly, I ran some commands at release version, but ended up crashed during the debugging, see attached picture.
What happened to the Visual Studio 2022? Why the same codes working for VS2019 and AutoCAD2023 but not working for VS2022 and AutoCAD2024. What are new features of ObjectARX2024 compared with ObjectARX2023? Do I need to upgrade some linked libraries such as rxapi.lib for my new ObjectARX2024 program?
The ObjectARX libraries I am using are:
rxapi.lib
acdb24.lib
acge24.lib
acad.lib
acui24.lib
actst24.lib
accore.lib
AcPal.lib
adui24.lib
aNav.lib
Any replied will be appreciated, thanks.
Solved! Go to Solution.