Quote Originally Posted by J_W View Post
Oh, ok, for some reason I thought that might foobar the MFC framework that made it protected. Wonder why the derived CFormView class has a protected ctor and the other derived classes don't. Maybe I should also create one with CFormView inside the doc/template and trace thru and see how it gets created.
I think the idea is (was) that you only instantiate the class using the CRuntimeClass interface. IIRC this is also how the doc template framework does it. However, the CRuntimeClass design is so hopelessly outdated that there is little point in using it in your own code.