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

Unit ppChrt ws compiled with a different version of Chart.TCustomChart

edited January 2005 in General
I am using D6, Update 2, RTL update 3, RB 7.03 Enterprise. I recently
upgraded TeeChart to 6.01 and cannot go back to 6.00. When compiling now I
get this message "Unit ppChrt was compiled with a different version of
Chart.TCustomChart".

A post elsewhere by Nols Smit says this kind of problem in D7 was solved
with
1. In D7 change Tools | Environment options | Library Bpl and Dcp
directories to blank.
2. Recompile rbTC77.dpk in their home directory.
3. Copy files rbTC77.dcu, rbTC77.dcp, ppChrtDP.dcu, ppChrt.dcu to C:\program
files\Borland\Delphi 6\RBuilder\Lib.
4. Reverse the action of 1.

Can D-M confirm this as a fix for D6 also, when modified for D6?

Many thanks

Russell Belding

Comments

  • edited January 2005
    Hi Russell,

    There should be no need to re-compile the RB TeeChart packages unless you
    wish to use TeeChart at Design Time, in which case you could simple
    re-install ReportBuilder. All you should need to do is change your library
    path to from RBuilder\Lib to RBuilder\Source and rebuild your application.
    This will allow the actual RB source files to be recompiled with then new
    TeeChart .dcu's. Once this is done, you may copy the newly created .dcu
    files to the \RBuilder\Lib directory and change your path back.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    Thanks Nico. Your simplified suggestion worked well.

    Russell

This discussion has been closed.