Avoid Use of __declspec(dllimport) on Class Definitions

Level

Recommendation

Applies to

ObjectARX and ObjectDBX modules

Avoid using this construct if possible. The only way it can be used with classes derived from AcDbObject is to mandate that any ObjectARX or ObjectDBX module that instantiates the class be unloadable.