July 14th, 1999, 04:57 PM
Does anyone have any samples showing how to implement pure virtual methods in a class that derives from CDocument ? When I try it I get the following error:
error C2259: 'CMyBaseDocument' : cannot instantiate abstract class due to following members
when I double click on the error to go to the offending line of code it takes me to the line of code IMPLEMENT_DYNCREATE(CMyBaseDocument, CDocument)is.
Can anyone explain that ?
error C2259: 'CMyBaseDocument' : cannot instantiate abstract class due to following members
when I double click on the error to go to the offending line of code it takes me to the line of code IMPLEMENT_DYNCREATE(CMyBaseDocument, CDocument)is.
Can anyone explain that ?