I have two big class that defined in two separated unit. there is members in both class that linked to another. Forward declaration is not useful because classes is not in the same type block.
Is there any solution except merging this two?
Unit1:
uses
Unit2;
type
TclassA = class
Method1: TClassB;
end;
Unit2:
type
TclassA = class; //Type TclassA is not yet completely defined
TclassB = class
Method2: TClassA;
end;
implementation
uses
Unit1;