Page 1 of 1

TContourMarks Access Violation

Posted: Wed Sep 30, 2009 3:22 am
by 10052936
HI,

I have created a chart with a single TContourSeries at run-time (using BCB2007, TeeChart 8.05). I want to stop the marks overlapping. I have tried using series->ContourMarks->AntiOverlap = true; but I keep getting "Access violation at address 42232F44 in module 'Tee811.bpl'." when I run the program. The same occurs if I try to change series->ContourMarks->Density and series->ContourMarks->AtSegments.

Is this a bug, or am I doing something wrong.

I saw another post referring to a similar problem with BCB2007 and TeeChart 8.04 with a workaround being to set at runtime. I can't do this as it is a cgi web application.

Any help would be appreciated.

Re: TContourMarks Access Violation

Posted: Thu Oct 01, 2009 3:30 pm
by yeray
Hi iquestmike,

This is probably related with a known C++ Builder subproperties alignment issue.
We thought that it could happen only with updated projects from earlier C++Builder versions, but maybe not. We are aware that there are some problems with code aligning when generating *.hpp and *.objc files for C++ Builder using dcc32 (Delphi compiler). Those problems usually are totally random but most visible with some subproperties which don't return a valid pointer. Hence some random Access Violation errors. This is a known C++ Builder error as you can see in the Quality Central entries below. This issue was supposed to be fixed in C++ Builder 2009 but it is not working perfectly yet.

http://qc.embarcadero.com/wc/qcmain.aspx?d=47943
http://qc.embarcadero.com/wc/qcmain.aspx?d=46158
http://qc.embarcadero.com/wc/qcmain.aspx?d=27917
http://qc.embarcadero.com/wc/qcmain.aspx?d=653