RAD Studio
ContentsIndex
PreviousUpNext
E2458: Delphi classes have to be derived from Delphi classes

You cannot derive a Delphi style class from a non-Delphi style class. 

 

struct base// base not a Delphi style class
{
intbasemem;
};
struct __declspec(delphiclass) derived : base // or
{
intderivedmem;
};
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!