TContourMarks Access Violation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
iquestmike
Newbie
Newbie
Posts: 2
Joined: Tue Apr 14, 2009 12:00 am

TContourMarks Access Violation

Post by iquestmike » Wed Sep 30, 2009 3:22 am

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.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TContourMarks Access Violation

Post by Yeray » Thu Oct 01, 2009 3:30 pm

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply