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 5:38PM
    Do not use old datamanager (disable {$DEFINE DATAMANAGER} directive in the fr.inc file).
  • edited 5:38PM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.