Page 1 of 1

CircularGauge circular frame access causes a crash

Posted: Wed Sep 21, 2016 12:17 pm
by 16677910
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.

Re: CircularGauge circular frame access causes a crash

Posted: Wed Sep 21, 2016 1:08 pm
by 16677910
gauge.SetDisplayRotationAngle(200) and gauge.SetDisplayTotalAngle(30) do work. I can use these. Problem solved.