Page 1 of 1

Access violation in TeeChart6.ocx

Posted: Wed Apr 14, 2010 11:37 am
by 9079971
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

Re: Access violation in TeeChart6.ocx

Posted: Wed Apr 14, 2010 3:05 pm
by yeray
Hi Robert,

The Line series gives more complex features such as the pointer (and OnGetPointerStyle event), the 3D view,... while the FastLine is more simple but faster to be drawn.
As you'll understand, we need to reproduce the problem here to be able to see where is the problem and try to propose a solution or workaround. So it would be nice if you could ask your customer to send you a simple example project we can run as-is to reproduce the problem here.

Re: Access violation in TeeChart6.ocx

Posted: Mon Apr 19, 2010 7:35 am
by 9079971
What do you mean by a simple example project?
The crash occurs when they are running our software together with an instrument that we sell.
We could send our software executable and provide all the parameters, but an instrument would still be needed to run the test which crashes the component.

Could we try a demo version of the latest TeeChart Pro for ActiveX and see if it will solve the problem?

Re: Access violation in TeeChart6.ocx

Posted: Mon Apr 19, 2010 8:15 am
by narcis
Hi Robert,
What do you mean by a simple example project?
The crash occurs when they are running our software together with an instrument that we sell.
We could send our software executable and provide all the parameters, but an instrument would still be needed to run the test which crashes the component.
For us to be able to help you on this it's almost essential that we can reproduce the problem here. For that, we would need a simple example project using TeeChart without any 3rd party tools we can run here to debug the problem.
Could we try a demo version of the latest TeeChart Pro for ActiveX and see if it will solve the problem?
Yes, of course, you can download it here.