Page 1 of 1

Errors moving TeeChart from CB6 VCLpro6 to BDS2006 VCLpro7.0

Posted: Fri Mar 30, 2007 1:49 pm
by 9244699
Hi,

When I tried recompiling my C++Builder 6 TeeChart VCL Pro 6 code in BDS 2006 C++Builder with a upgrade purchase TeeChart VCL Pro 7.08 I got the following compilation errors:
[C++ Error] FieldLib.cpp(4890): E2316 'ScrollMouseButton' is not a member of 'TChart'
[C++ Error] Digi132xContAcq.cpp(3802): E2316 'FastPen' is not a member of 'TFastLineSeries'
[C++ Error] Digi132xContAcq.cpp(3816): E2316 'IgnoreNulls' is not a member of 'TFastLineSeries'
[C++ Error] Digi132xContAcq.cpp(3817): E2316 'Color' is not a member of 'TFastLineSeries'

Presumably ScrollMouseButton, FastPen, IgnoreNulls and Color have been removed, but what (if anything) have they been replaced with, particularly Color and IgnoreNulls?

Is there someplace that describes in detail the changes between VCLpro6 and VLCpro7? :?

Thanks in advance,

Bill

Posted: Fri Mar 30, 2007 2:05 pm
by narcis
Hi Bill,

Those properties still exist in v7. It is most likely that your IDE is still referencing old TeeChart packages. Could you please have a look at this thread where I posted a summary of message about the same issue?

Thanks in advance.

Posted: Fri Mar 30, 2007 3:53 pm
by 9244699
Hi Narcis,

I fixed the problem by going into
Projec->Options->C++Compiler->PathsAndDefines->IncludePathSearch and deleting:

$(BDS)\include\vcl\backup_teechart

and then adding:

$(BDS)\teechart 7.08 for delphi 2006\delphi10\include

This did the trick.

Thanks,

Bill