KLink1/HvSerialPort.cpp
@@ -30,7 +30,7 @@ if (this->m_bOpened) { m_strResult.Format(_T("COM%d already Opened"),m_nPort); return R_ERR; return R_OK; } ComPortName.Format(_T("\\\\.\\COM%d"), this->m_nPort); hCom1 = CreateFile(ComPortName, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);//FILE_ATTRIBUTE_NORMAL|FILE_FLAG_OVERLAPPED