代码出现如下错误,DAMAGE:after normal block(#358) at 0x00b63fd0
似乎在如下代码中出现如下错误
debug error
DAMAGE:after normal block(#358) at 0x00b63fd0
void CRDViewView::OnRuntocursor()
{
// TODO: Add your command handler code here
if(b_wndText)
{
CRichEditCtrl& reTextSeg = m_wndTextSeg.GetRichEdit();
int line = m_nLine; //read out the line
CString strText;
CString strTemp;
int nLineLength = reTextSeg.LineLength(line);
reTextSeg.GetLine(line, strText.GetBuffer(nLineLength));
strText.ReleaseBuffer(nLineLength);
unsigned long addr;
LPTSTR p = strTemp.GetBuffer(8);
lstrcpy( p, _T(strText.Left(8)));
strTemp.ReleaseBuffer(8);
addr = strtoul(strTemp,NULL,0);//get the addr information
}
}