CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: nuzzle

Search: Search took 0.20 seconds.

  1. Replies
    6
    Views
    12,002

    Re: Pure virtual methods and interface class

    Well, if COM is involved it's quite easily recognizable. The pure virtual class definitions usually look something like this, at least in Microsoft code,


    ...
  2. Replies
    6
    Views
    12,002

    Re: Pure virtual methods and interface class

    It's not as much what the compiler or linker sees as what C++ allows and it's perfectly fine to define variables of virtual classes. What you cannot do is creating objects of a virtual class. For...
  3. Replies
    6
    Views
    12,002

    Re: Pure virtual methods and interface class

    The panel_get_registered_c_callback function returns a derived object of the IPanelCCallback base type. Object creation functions like this is quite common in OO.

    The question is who owns the...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured