I'm currently trying to convert the VCL components to lazarus. I have a TQuery component referencing a result set, The resultset knows it's owner by referencing to TQuery. In Delphi it goes as follows:
TASQLite3BaseQuery = class;
TFResult = class
protected
.....
FDataSet: TASQLite3BaseQuery;
public
constructor Create(TheDataSet: TASQLite3BaseQuery);
destructor Destroy; override;
etc.
end;
TASQLite3BaseQuery = class(TDataSet)
private
....
FResult: TFResult;
etc.
In Lazarus I get a redefines error on the TASQLite3BaseQuery.
What do I have to do to solve this isue?
albert