Fast Reports 2.52 and TeeChart Pro 7

Hi

I am trying to install the latest version of fastreports and I have TeeChart Pro 7 on my system. FastReports gives an error message The application has failed to start because tee70.bpl was not found. I have tee77.bpl -- where do I make the change to fastreports to make it happy?

Steve

Comments

  • Bert BinnenmarschBert Binnenmarsch Terneuzen
    edited 8:27PM
    Hello Steve,

    In fr7.dpk, line #55:

    {$IFDEF TeeChart45}, TEE45 {$ENDIF}
    {$IFDEF TeeChart70}, TEE77 {$ENDIF}
    {$IFDEF RX}, RXCTL6 {$ENDIF}

    In fr.inc, line #106:

    //
    TeeChart Pro 7.0 component
    // If you have TeeChart 7.0, uncomment the following line:
    {$DEFINE TeeChart70}

    In fr.inc, line #183:

    {$IFDEF TeeChart70}
    {$UNDEF TeeChartStd}
    {$DEFINE TeeChart}
    {$ENDIF}

    Regards,
    Bert
  • gordkgordk St.Catherines On. Canada.
    edited 8:27PM
    hello Steve
    Also remember to use Notepad or Wordpad to edit your dpk file.
    if you use delphi and save changes it will strip the ifdefs.
    regards ;)
  • Bert BinnenmarschBert Binnenmarsch Terneuzen
    edited 8:27PM
    The perfect solution would be to include these changes (and similar changes for TeeChart 6.0) in FR 2.53 and 3.0.
  • edited 8:27PM
    Thanks folks -- all is working

Leave a Comment