Quote:
Originally posted by TheCPUWizard
...
1) Base (CBase) class member is not virtual, first level derived class (CLevel1):public CBase) IS DECLARED virtual, second level derived class CLevel2:public CLevel1) also overrides the function.
Case a CLevel2 object to a CLevel1 object and the CLevel2 method still gets called, Case EITHER derived class to a CBase pointer and the base gets called. [I just
know someone will post a class where this is intended...]
...
If I understand your example, it sounds like behaviour I would expect. What did you expect?