After installing V7.05, TChart does not initialize anymore?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Wiebe
Newbie
Newbie
Posts: 26
Joined: Fri Nov 15, 2002 12:00 am
Location: Middelburg
Contact:

After installing V7.05, TChart does not initialize anymore?

Post by Wiebe » Wed May 11, 2005 1:08 pm

Hi,

I installed TeeChart v7.05 (upgraded from v6.01) for BCB6.
The installation went allright and no compilation problems afterwards.
However at run time all kind of problems occur due invalid pointers in TChart e.g.:
TChart->Legend=NULL
TChart->BottomAxis->Grid=00000000008 ???
ChartTool->Lines=NULL
etc.
Nothing has changed in my original code.
Looks like the TChart component is not proper initialized.

Pls advice
Wiebe

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Wed May 11, 2005 1:36 pm

Hi.

Was your old project originally developed with TeeChart v6 ? If yes, then you should manually edit project bpg file and replace all references to old bpi/lib TeeChart files with new ones. For example, "old" TeeChart files will have Tee6C6 in the name and "new" TeeChart files will have Tee7C6 in the name.
For old projects this cannot be done automatically i.e. it has to be done "by hand".
Marjan Slatinek,
http://www.steema.com

Wiebe
Newbie
Newbie
Posts: 26
Joined: Fri Nov 15, 2002 12:00 am
Location: Middelburg
Contact:

Post by Wiebe » Wed May 11, 2005 2:23 pm

Hi Marjan,

Thans, that seems to do the trick.

I also see in the projectfile, under PACKAGES, Tee6c6.bpi etc. files
and no Tee7C6.bpi. Does that require (manual) correction as well?

Wiebe

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu May 12, 2005 6:33 am

Hi Wiebe,

yes, you must change these as well.

Post Reply