Put TSuperClass in SUPERPACKAGE

Optionally list SUPERPACKAGE in the tiny edit window provided under
Project/Options/Packages  (Delphi5). Ie, direct Delphi to pre-load
SUPERPACKAGE if it is truly global.

CHILDPACKAGE must list SUPERPACKAGE in the Requires clause.



> hi im trying to build application using delphi 7 runtime packages.
> i have a base class called TSuperClass in the main application and i
> also created a descendant class of TSuperClass called TChildClass. i
> put the TChildClass in the package. but everytime i try to load the
> package, i get this error 'a class named TSuperClass already exists.'.
> Is it possible to have TSuperClass in the main application and in the
> package? or are there a better solution for this?
>
> thanks in advance for any comments
>
>


Reply via email to