一个串口读GPS数据,显示信息和画卫星方位的程序,串口通讯用了多线程,运行40几分钟出错:
Warning: Uncaught exception in WindowProc (returning 0).
First-chance exception in GPS.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
Warning: Uncaught exception in WindowProc (returning 0).
First-chance exception in GPS.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in GPS.exe (MFC42D.DLL): 0xC0000005: Access Violation.
The program 'D:\gxy\vc\GPS\Debug\GPS.exe' has exited with code 0 (0x0).程序停在"\MFC\INCLUDE\AFXWIN1.INL"的
_AFXWIN_INLINE COLORREF CDC::GetBkColor() const
{ ASSERT(m_hAttribDC != NULL); return ::GetBkColor(m_hAttribDC); }界面用了Xtreme Toolkit 2.0,不知道是哪里问题.另外那几条出错信息是什么意思?
不知哪位大侠能够解答,谢谢!