CalcXPos access violation
Posted: Mon May 23, 2005 3:55 pm
I have the c++ code :
int iFirstValueIndex = m_Serie.GetFirstValueIndex();
int iLastValueIndex = m_Serie.GetLastValueIndex();
if((iFirstValueIndex < 0) || (iLastValueIndex < 0))
return;
int iWidth = m_Serie.CalcXPos(iLastValueIndex) - m_Serie.CalcXPos(iFirstValueIndex);
Sometimes : its make an access violation. Do you find a bugg for it ?
When the window is destroyed and the activeX is released, access violation too (sometimes) !
Version of teechart : 6.0.0.5
Hope it is a bugg into the 6.0.0.5 version, have installed 6.0.0.6.
Testing...
int iFirstValueIndex = m_Serie.GetFirstValueIndex();
int iLastValueIndex = m_Serie.GetLastValueIndex();
if((iFirstValueIndex < 0) || (iLastValueIndex < 0))
return;
int iWidth = m_Serie.CalcXPos(iLastValueIndex) - m_Serie.CalcXPos(iFirstValueIndex);
Sometimes : its make an access violation. Do you find a bugg for it ?
When the window is destroyed and the activeX is released, access violation too (sometimes) !
Version of teechart : 6.0.0.5
Hope it is a bugg into the 6.0.0.5 version, have installed 6.0.0.6.
Testing...