Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutually dependent classes on distinct units ?

Status
Not open for further replies.

alexalexalex

Programmer
Jul 7, 2002
1
FR
It seems difficult to have mutually dependent classes on distinct units. I have got some units which are more than 5000 lines long. It will be nice if I could reorganize them. I tried to do, but with no success : either a type is not defined in a unit, either circular references are found in the clause uses.

Is there a way to do it ?
 
Use forward declarations and "uses" clause in both interface and implementation parts.

--- markus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top