access vialoation
Posted: Mon Jul 12, 2004 6:36 pm
Hi everybody,
I just upgraded from TeeChart version 4 to version 7. And now simple piece of code (that worked fine in version 4) produces access violation error (Access violation at address 00000000. Read of address 00000000)
Code:
====================
Chart1.RemoveAllSeries;
Chart1.AddSeries(Serie2);
====================
I just remove current series from the chart and add another one.
Error does not appear when this code is executing, error appears when you close application IF this code WAS executed.
I checked this forum and found several posts about similar (or may be the same problem).
E.g. http://www.teechart.net/support/modules ... 949cc714b6
But unfortunatelly I did not find solution.
Any ideas?
Regards
Alex
I just upgraded from TeeChart version 4 to version 7. And now simple piece of code (that worked fine in version 4) produces access violation error (Access violation at address 00000000. Read of address 00000000)
Code:
====================
Chart1.RemoveAllSeries;
Chart1.AddSeries(Serie2);
====================
I just remove current series from the chart and add another one.
Error does not appear when this code is executing, error appears when you close application IF this code WAS executed.
I checked this forum and found several posts about similar (or may be the same problem).
E.g. http://www.teechart.net/support/modules ... 949cc714b6
But unfortunatelly I did not find solution.
Any ideas?
Regards
Alex