Page 1 of 1

Access violation contour series levels

Posted: Sat Jul 02, 2011 10:37 am
by 10047765
When attempting to modify contour level values such as UptoValue and colour, the Tcontour levels pointer is not valid (typically value 5 or 10) which of course leads to access violation when using it. I am using Tchart v8 and this problem occurs with C++Builder 4 and C++Builder 2009, and for all available releases of TeeChart 8. If the level values are altered at design time in the IDE this works. I have even tried Teechart 2011 (trial version) and get the same problem.

I have read various posts on this topic dating back to 2008 where this problem was reported and promised to be fixed and yet still there is an error. We have had to use Teechart version 6 for several years now as this the only one that works, but of course this lacks the features that lead us to buy TeeChart 8. We assumed when the package was bough that the problem was only in C++Builder 4 and that it would be resolved when upgrading to 2009. TeeChart was explicitly bought to use with contour charts and it is a severe loss of functionality in that the users of our program cannot alter contour values. TeeChart 8 is still sold as working under C++Builder 2009 and yet the features advertised cannot be accessed under these platforms.

What are my options? Will this issue be fixed soon, or do I need to change to another software package. If I bought the source code version would this solve the problem if I compile it under C++Builder? If so, is it possible to pay the difference between the source & non-source code version rather than having to repurchase the entire package, considering that we have already paid for a Teechart 8 licence.

Some posts have reported that they have solved the problem using types created in C++, but no details are given. This issue is costing us a great deal of time and would like to resolve if possible before having to undergo the expense of migrating to other software. Users should be warned that TeeChart has limited functionality in C++Builder packages and is designed primarily for Delphi.

If any users reading this have a solution, I would be extremely grateful to learn what it is as I don’t hold out much hope from TeeChart support as this appears to be an ongoing issue.

Re: Access violation contour series levels

Posted: Thu Jul 21, 2011 9:06 am
by yeray
Hello Matt,

I'd like to apologize for the delayed reply here.
We are currently investigating it. At the moment we've found it seems to be related to the data alignment in the .hpp files generated from the .pas files.
Changing "#pragma pack(push,8)" in TeeSurfa.hpp for "#pragma pack(push,4)" the problem disappears. You could try it.

We'll be back to you as soon as we'll have more information.