Debug Assertion Failed line:2553 2010-05-09 21:42 我在MFC下用串口控件编写了个串口通信程序,出现如下错误: Debug Assertion Failed! Program:..... File: olevar.cpp Line:2553 For information on how your program can cause an assertion failure,see.... 最后发现是因为:没有设置m_Com.SetInputMode(1); // 1表示以二进制方式检取数据 原址: http://hi.baidu.com/wei_sdu/blog/category/mfc_%B4%AE%BF%DA%CD%A8%D0%C5