Access violation in TeeChart6.ocx

TeeChart for ActiveX, COM and ASP
Post Reply
RobertAtTexVol
Newbie
Newbie
Posts: 2
Joined: Thu Nov 27, 2003 5:00 am
Location: Sweden
Contact:

Access violation in TeeChart6.ocx

Post by RobertAtTexVol » 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

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

Re: Access violation in TeeChart6.ocx

Post by Yeray » Wed Apr 14, 2010 3:05 pm

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.
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

RobertAtTexVol
Newbie
Newbie
Posts: 2
Joined: Thu Nov 27, 2003 5:00 am
Location: Sweden
Contact:

Re: Access violation in TeeChart6.ocx

Post by RobertAtTexVol » Mon Apr 19, 2010 7:35 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Access violation in TeeChart6.ocx

Post by Narcís » Mon Apr 19, 2010 8:15 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply