错误:0x0F241BC0 (ucrtbased.dll)处引发的异常: 0xC0000005: 读取位置 0x00000030 时发生访问冲突。
// m_strRXhhCOM1 += (TCHAR*)ch;//错误的根源-->使用了指针
//正确改法
m_strRXhhCOM1 += (TCHAR)ch;//
错误:0x0F241BC0 (ucrtbased.dll)处引发的异常: 0xC0000005: 读取位置 0x00000030 时发生访问冲突。
// m_strRXhhCOM1 += (TCHAR*)ch;//错误的根源-->使用了指针
//正确改法
m_strRXhhCOM1 += (TCHAR)ch;//