I downloaded Object AXR 2024, and referenced it in my project through Visual Studio 2022.
C/C++ - General - Additional IncludeDirectories - C:\Autodesk\arx\inc;
Linker - General - Additional Library Directories - C:\Autodesk\arx\lib-x64;
Linker - Input - Additional Dependencies - ac1st24.lib;acad.lib;acapp.lib;acapp_crx.lib;AcCamera.lib;accore.lib;acdb24.lib;acdbmgd.lib;AcDbPointCloudObj.lib;AcDrawBridge.lib;AcFdEval.lib;AcFdUi.lib;acge24.lib;AcGeolocationObj.lib;acgeoment.lib;acgiapi.lib;acismobj24.lib;AcJsCoreStub_crx.lib;aclmvexport_crx.lib;acModelDocObj.lib;AcMPolygonObj.lib;AcPal.lib;AcPublish_crx.lib;AcSceneOE.lib;AcTc.lib;AcTcUi.lib;acui24.lib;AdApplicationFrame.lib;adui24.lib;aNav.lib;axdb.lib;rxapi.lib;userdata.lib
Linker - Input - Module Definition File - C:\Autodesk\arx\inc\AcRxDefault.def
However, when I try to Rebuild, the following happens:
In Civil 3D, when loading the .dll
My question is how to solve these bugs to be able to run; did I forget something?
Solved! Go to Solution.
Solved by tbrammer. Go to Solution.
Looks like a _DEBUG problem. msvcrtd .lib is a debug version while msvcrt.lib is a release version.
You may never link to a debug runtime lib if you build an ObjectARX application. This can lead to heap errors at runtime. Either remove the _DEBUG define from your debug configuration or follow the advice given here.