Hi,
I'm recompiling for AutoCAD 2013/2014 an ObjectARX project that works fine with AutoCAD 2012. After migration from Visual Studio 2008 to Visual Studio 2010 and after setting the correctly dependency to ObjectARX 2014 (checked more and more times) the project compiles without error. But when I load the produced ARX on AutoCAD 2014 it returns the error (AcRxDynamicLinker failed to load 'acismobj18.dbx').
For me it's strange because in the Configuration Properties > Linker > Input I wrote "acISMobj19.lib" and in C/C++ > General and Linker > General I refer only to ObjectARX 2014 inc and lib.
All suggestions are welcomed.
Thank you.
Regards,
Tiziano
Solved! Go to Solution.
Hi,
Can you give us all lib listed under linker of your project's properties? Did you change all "...18.ib" to "...19.lib"? (i.e. acdb and acge)
Regards,
Jonathan
EDIT : I guess OARX 2014 needs acISMobj20.lib and not 19.
Hi,
this is the lib list:
acISMobj19.lib
AdImaging.lib
AdIntImgServices.lib
opengl32.lib
glu32.lib
glaux.lib
odbc32.lib
odbccp32.lib
acdb19.lib
acge19.lib
acgiapi.lib
acad.lib
Acbr19.lib
Acgex19.lib
d3d9.lib
d3dx9.lib
About the use of acISMobj20.lib instead of acISMobj19.lib for OARX 2014 I think it isn't true, because by looking on ObjectARX 2014\lib-x64 it's possible to find the acISMobj19.lib.
Thank you and regards,
Tiziano
Yes, you're right about acISMobj19.lib, I was looking in wrong folder. sorry.
You use libs I don't know, but the rest seems to be correct, I don't know what is the problem.
Maybe you have a "pragma lib" or an import in your code?
Hi,
I don't have "pragma lib" and the only import I have is: #import "acax19enu.tlb" that seems to be correct.
Tiziano
I'm sorry, I'm out of idea. Did you check that your arx has a dependency on acismobj18 (with dependency walker per example)?
Maybe dbx is called from code...
Hi,
bug found!!! I forgot to update this instruction inside my code:
acrxDynamicLinker->loadModule(_T("acISMobj18.dbx"), true));
By changing 18 with 19 all works fine.
Thank you for your time Jonathan!
Regards
Tiziano
Can't find what you're looking for? Ask the community or share your knowledge.