Search found 2 matches

by Schateau
Tue May 24, 2005 9:06 am
Forum: ActiveX
Topic: CalcXPos access violation
Replies: 3
Views: 4308

I think it is not the CalcXPos that have a bugg but the CalcXPos that crash because the index returned by : int iFirstValueIndex = m_Serie.GetFirstValueIndex(); or / and int iLastValueIndex = m_Serie.GetLastValueIndex(); are sometimes wrong (looks good but make CalcXPos crash). The application is to...
by Schateau
Mon May 23, 2005 3:55 pm
Forum: ActiveX
Topic: CalcXPos access violation
Replies: 3
Views: 4308

CalcXPos access violation

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