Fr7.dpk fails when QBuilder added

When Qbuilder is added to Fr7.dpk I am getting the following errors:
[Error] FR_QBEng.pas(37): Declaration of 'ReadFieldList' differs from previous declaration
[Error] FR_QBEng.pas(39): Declaration of 'SetQuerySQL' differs from previous declaration
[Fatal Error] frd_qry.pas(24): Could not compile used unit 'FR_QBEng.pas'

I have removed all old library files and tried to recompile and it still errors. Any ideas how to fix it?

Thanks,
tcmdvm

Comments

  • edited 7:15AM
    Do not use old datamanager (disable {$DEFINE DATAMANAGER} directive in the fr.inc file).
  • edited 7:15AM
    Thanks, but I already had it commented out.

    I had to change the following lines:

    procedure ReadFieldList(const ATableName: string); override;
    procedure SetQuerySQL(const Value: string); override;

    I had to add "const" where it was declared and where the procdure was listed.

    Again, Thanks for your help.

    tcmdvm

Leave a Comment