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 outlook无法配置成功
  • ¥15 Pwm双极模式H桥驱动控制电机
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换