I keep getting: Undeclared identifier for the type of interface that I defined in another block. Here is what I have:
unit Drawers;
interface
implementation
type
IDrawer = interface
['{070B4742-89C6-4A69-80E2-9441F170F876}']
procedure Draw();
end;
end.
unit Field;
interface
uses
Graphics, Classes, Drawers;
TField = class(TInterfacedObject, IField)
private
FSymbolDrawer: IDrawer;
In FSymbolDrawer, I get a complier error.
Of course I have drawers for drawers; in the block where TField is defined.
What is it?
thank
source
share