Lazarus

Programming => Packages and Libraries => Ported from Delphi/Kylix => Topic started by: aducom on May 15, 2006, 03:51:38 pm

Title: Converting Aducom SQLite components to lazarus
Post by: aducom on May 15, 2006, 03:51:38 pm
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:

Code: [Select]

  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
Title: RE: Converting Aducom SQLite components to lazarus
Post by: felipemdc on June 01, 2006, 03:47:34 am
What is the exact error message?

I think this should work. You can also try posting on free pascal mailling list, since this is more of a problem with the compiler.
Title: RE: Converting Aducom SQLite components to lazarus
Post by: aducom on June 07, 2006, 02:49:22 pm
I've downloaded a newer release and the problem has been solved.
TinyPortal © 2005-2018