3
My class Tlog inherits from the Tbasemodel class:
uses
BaseModelo;
TNFLog = class(TBaseModelo)
...
end;
But my Tbasemodel class needs to have a Tlog-type attribute:
uses
Log;
TBaseModelo = class(TInterfacedPersistent)
public
property Log: TLog read FLog write FLog;
end;
When indicating the Log in Basetemplate uses, when compiling, the error occurs "Out of memory".
From what I understood it would be a cyclic error (loop) correct? How to get around this?