有关调试错误First-chance exception in xxx.exe?请大侠帮忙啊!
lifg 2003-09-29 11:13:29 我的程序在平时正常运行,但是运行中要是打开任务管理器一会儿(什么也不动)再取消的话,我的程序就弹出一个窗口(显示Unhandled exception in xxx.exe:0xC00000005:Access Violation)退出了,在Debug方式下,调试窗口显示First-chance exception in xxx.exe?按确定后,就光标跳到了occsite.cpp文件中的如下函数中BOOL COleControlSite::OnEvent(AFX_EVENT* pEvent)
{
// If this control has a proxy CWnd, look for a matching ON_*_REFLECT
// entry for this event in its event map.
if ((m_pWndCtrl != NULL) && *******程序停于此处
m_pWndCtrl->OnCmdMsg(m_nID, CN_EVENT, pEvent, NULL))
{
return TRUE;
}
// Proxy CWnd isn't interested, so pass the event along to the container.
return m_pCtrlCont->m_pWnd->OnCmdMsg(m_nID, CN_EVENT, pEvent, NULL);
}
请大侠不吝赐教,本人不胜感激,一定要钱给钱,要力出力啊,真的很急,急不可耐啦!