IMPLEMENT_DYNAMIC does not work for some base classes if MFCDLL is statically linked (when _AFXDLL is not defined)IMPLEMENT_DYNAMIC(CGHLDevice, CObject)gives the error line:error C2039: 'classCGHLDevice': I no element of 'CGHLDevice' (translated from German VS 2012)the same here:IMPLEMENT_DYNAMIC(CPredefinedColorsListCtrl, CVSListBox)gives a similar errorif I use IMPLEMENT_DYNAMIC(CPredefinedColorsListCtrl, CListBox)as a workaround the line can be compiledso this problem occurs obviously with only a few base classes, here it is CObject and CVSListBoxwhen changing the project options to _AFXDLL these problems do not happen
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results