Recent

Author Topic: Converting Aducom SQLite components to lazarus  (Read 6306 times)

aducom

  • Full Member
  • ***
  • Posts: 122
    • http://www.aducom.com
Converting Aducom SQLite components to lazarus
« 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

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
RE: Converting Aducom SQLite components to lazarus
« Reply #1 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.

aducom

  • Full Member
  • ***
  • Posts: 122
    • http://www.aducom.com
RE: Converting Aducom SQLite components to lazarus
« Reply #2 on: June 07, 2006, 02:49:22 pm »
I've downloaded a newer release and the problem has been solved.