Requirement
ObjectARX applications
ObjectARX supports dynamic MFC linking. Using an extension DLL is also recommended. In order to use the Autodesk AdUi and AcUi MFC base classes, you must dynamically link your MFC ObjectARX application and make it an extension DLL.
Linking to the static MFC library is not supported because some of the ObjectARX libraries link with the dynamic MFC library. A DLL cannot link to both the static and dynamic MFC libraries; linker warnings will result.