mutouoa 2015-11-17 02:42 采纳率: 0%
浏览 3528

0x7574812f 处有未经处理的异常

HVSnapContinuous.exe 中的 0x7574812f 处有未经处理的异常: Microsoft C++ 异常: 内存位置 0x0033f3e4 处的 cv::Exception。
mfc画完矩形后onlbuttonup之后单步调试在
int CWinThread::Run()
{
ASSERT_VALID(this);
_AFX_THREAD_STATE* pState = AfxGetThreadState();

// for tracking the idle time state
BOOL bIdle = TRUE;
LONG lIdleCount = 0;

// acquire and dispatch messages until a WM_QUIT message is received.
for (;;)
{
    // phase1: check to see if we can do idle work
    while (bIdle &&
        !::PeekMessage(&(pState->m_msgCur), NULL, NULL, NULL, PM_NOREMOVE))
    {
        // call OnIdle while in bIdle state
        if (!OnIdle(lIdleCount++))
            bIdle = FALSE; // assume "no idle" state
    }

    // phase2: pump messages while available
    do
    {
        // pump message, but quit on WM_QUIT
        if (!PumpMessage())
            return ExitInstance();

        // reset "no idle" state after pumping "normal" message
        //if (IsIdleMessage(&m_msgCur))
        if (IsIdleMessage(&(pState->m_msgCur)))
        {
            bIdle = TRUE;
            lIdleCount = 0;
        }

    } while (::PeekMessage(&(pState->m_msgCur), NULL, NULL, NULL, PM_NOREMOVE));
}

}
这里面的while (::PeekMessage(&(pState->m_msgCur), NULL, NULL, NULL, PM_NOREMOVE));中的错误 求帮忙啊

  • 写回答

2条回答 默认 最新

  • oyljerry 2015-11-17 09:23
    关注

    指针异常。断点单步跟踪一下

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题