Does anyone know how to get around the following issue where I have two
different classes that each contain a reference to the other in their
definition, the problem being that I want them in different units.   As
predicted delphi spits a 'circular reference' error at me. :s(

Sticking them both in the same unit is not really an option.

I know you can declare in a unit what classes are defined in it like so:
TMyVeryOwnClass = class;
Meaning the the classes defined in that unit can reference each other
without worrying about their physical order in the unit.  Is there such a
thing project wide? or am I just clutching at straws?



Thanks.


Nahum Wild
CSG Software Developer
SwichTec Power Systems
New Zealand

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to