George <George@discussions.microsoft.com> wrote:
You could a) look at vtable under debugger, or b) try to call the
I doubt whether method (a) works. You know we can not create an
object of abstract class, and we can only create an instance of
derived class. How could we monitor the vtable of the abstract base
class to see whether the pure virtual method of base class is in
vtable of instance of abstract base class?
Put a breakpoint into the abstract class' constructor. Inspect vtable
when stopped on this breakpoint. The vtable should be that of the base
class.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925