Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB 5.6 installation problems - Delphi 5, RB 5.6, Tee Chart 5.02

edited January 2003 in General
I upgraded from RB 5.5 to RB 5.6 for compatibility with other developers on
a project. Now that I have done so, the install RB's Tee Chart package
(rbTC55x) is getting procedure entry point errors when it opens. This was
true for many of the RB packages. I was able to resolve all of them but the
Tee Chart problem by recompiling the packages using the source code.
Unfortunately when I try to compile rbTC55x, I get an error dialog "Error
creating form: Ancestor for 'TBaseSourceEditor' not found." that opens the
ppChDPEdDlg unit and places the cursor at line 106 in procedure
OnCreateEditDBChart(aForm:TFormTeeSeries; aChart:TCustomChart). The line
reads "OnChartGetSourceStyle := OnDBChartGetSourceStyle;". The compiler
errors are: 1) "Undeclared identifier 'OnChartGetSourceStyle'", 2) "Not
enough actual parameters" and 3) "Could not compile used unit
'ppChDPEdDlg.pas'. I have looked for any pas file that contains the
definition of the TBaseSourceEditor class but came up with nothing even
though I have the source code for Tee Chart 5.02.

How do I compile rbTC55x?

Many thanks.

- Dan

Comments

  • edited January 2003
    TeeChart 5.02 is not supported in RB 5.56. It is supported in 6.03 and
    higher, including RB 7. Teechart 5.02 was released after RB 5.56 was
    released, so the RB Teechart source that you have is not compatible with the
    Teechart 5.02 runtime interface. The options are: Have all members of the
    project upgrade to RB 7 to get Teechart 5.02 support for D5 or use Teechart
    4 that ships with Delphi 5, though you'll have to compile using run time
    packages if you use the Delphi bundled version of Teechart.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2003
    Jim,

    Thanks for the response. I be leaving the RB Tee Chart package out for now
    until the project calls for it. At that time I'll try to get everyone to
    upgrade.

    - Dan

  • edited January 2003
    I should also mention, that in addition to Teechart 4, RB 5.56 supports
    Teechart 5.0, but not 5.02. You could use Teechart 5.0 if you have a copy of
    that older install.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.