Based on some experiments, I believe that the Brep functions are the ones responsible for this problem.
What I'm doing is:
- add the "acbr17.lib" library in Project Properties>Configuration Properties>Linker>Input>Additional Dependencies, and
- add this code in the acrxEntryPoint.cpp file:
if (!acrxClassDictionary->at("AcBrEntity")) {
acrxDynamicLinker->loadModule("acbr17.dbx", 1);
}
which is what was working fine with VS2002, ObjectARX2006 and AutoCAD 2006.
Has that changed for VS2005,ObjectARX 2007 and AutoCAD 2007? Or what could be the problem? Why do I get the "incompatible with this version of AutoCAD" message?
When I build an application without the above mentioned characteristics, it loads correctly.
Please help me.