Access violation in TeeChart6.ocx
Posted: Wed Apr 14, 2010 11:37 am
Hello!
One of our clients has a problem with the TeeChart6 ActiveX component sometimes crashing.
The error-message states:
Access violation 50423a16 000026 Tee chart 6.ocx
The version of the file is 6.0.0.3.
I released a new version of the software which uses 6.0.0.6, it still crashes.
I have personally not been able to reproduce the error, so it is very hard to figure out what might be causing it.
We access the ActiveX control through C++ in an MFC application and use VS6 for development.
Points are added with the AddXY method into either one or two fastLine series, approx 10 times/s.
Then the graph is cleared by a call to RemoveAllSeries() and added again with 10 times the previous amount of points using the AddArray method.
The process happens over a hundred times everyday and it always crashes a few times during the day.
The error-message only appears when adding points with the AddXY method.
What could be causing an access violation in the TeeChart?
Should I be using Line instead of FastLine when adding the points with the AddXY method?
What is the difference between Line and FastLine?
Thanks in advance!
Robert
One of our clients has a problem with the TeeChart6 ActiveX component sometimes crashing.
The error-message states:
Access violation 50423a16 000026 Tee chart 6.ocx
The version of the file is 6.0.0.3.
I released a new version of the software which uses 6.0.0.6, it still crashes.
I have personally not been able to reproduce the error, so it is very hard to figure out what might be causing it.
We access the ActiveX control through C++ in an MFC application and use VS6 for development.
Points are added with the AddXY method into either one or two fastLine series, approx 10 times/s.
Then the graph is cleared by a call to RemoveAllSeries() and added again with 10 times the previous amount of points using the AddArray method.
The process happens over a hundred times everyday and it always crashes a few times during the day.
The error-message only appears when adding points with the AddXY method.
What could be causing an access violation in the TeeChart?
Should I be using Line instead of FastLine when adding the points with the AddXY method?
What is the difference between Line and FastLine?
Thanks in advance!
Robert