CircularGauge circular frame access causes a crash

TeeChart for ActiveX, COM and ASP
Post Reply
Tero
Newbie
Newbie
Posts: 7
Joined: Wed Mar 30, 2016 12:00 am
Contact:

CircularGauge circular frame access causes a crash

Post by Tero » Wed Sep 21, 2016 12:17 pm

VS 2012 C++:

F.ex.:

gauge.GetCircularFrame().SetTotalAngle(200.0);

=> Access violation in TeeChart2016.ocx

gauge.GetCircularFrame().SetRotationAngle(30.0);

=> Access violation in TeeChart2016.ocx.

gauge.GetCircularFrame().GetCircled();

=> Access violation in TeeChart2016.ocx

So probably GetCircularFrame() returns invalid object (f.ex. reference to a temporary object) or an object of wrong type.


2016.0.0.2 version.

Tero
Newbie
Newbie
Posts: 7
Joined: Wed Mar 30, 2016 12:00 am
Contact:

Re: CircularGauge circular frame access causes a crash

Post by Tero » Wed Sep 21, 2016 1:08 pm

gauge.SetDisplayRotationAngle(200) and gauge.SetDisplayTotalAngle(30) do work. I can use these. Problem solved.

Post Reply