RAD Studio
ContentsIndex
PreviousUpNext
E2306: Virtual base classes not supported for Delphi classes

Delphi style classes cannot be derived virtually, not even from other Delphi style classes. 

 

struct __declspec(delphiclass) base  {};
struct derived : virtual base        {};    // Error
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!