RAD Studio |  |

E2458: Delphi classes have to be derived from Delphi classes (C++)
Example
Collapse All

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

Example
Copy Code

    struct base// base not a Delphi style class
    {
    intbasemem;
    };
    struct __declspec(delphiclass) derived : base // or
    {
    intderivedmem;
    };

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!