SerialPort收数据时出现的BUGcomstat is being used without defining
Run-Time Check Failure #3 - The variable 'comstat' is being used without being initialized.
CSerialPort类在Visual C++ .NET 应用时会出现意想不到的问题。以《Visual C++/Turobo C串口通信编程实践》(龚建伟 熊光明 著)一书中第二章的SerialPortTest程序