Page 1 of 1

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

Posted: Wed May 11, 2005 1:08 pm
by 8437945
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

Posted: Wed May 11, 2005 1:36 pm
by Marjan
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".

Posted: Wed May 11, 2005 2:23 pm
by 8437945
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

Posted: Thu May 12, 2005 6:33 am
by Pep
Hi Wiebe,

yes, you must change these as well.