LRESULT IO: : OnComm (WPARAM ch, LPARAM port)
{
Cstrings STR.
STR. The Format (" % 02 x ", ch);
SetDlgItemText (IDC_RECEIVED, STR);
Hahahahaha MessageBox (" ");
return 0;
}
CodePudding user response:
It is recommended to use portmon auxiliary software debugging serial communication program,CodePudding user response:
Initialize the serial port Settings window when a pointer, the window class custom WM_COMM_RXCHAR messageYou may be a custom message out of the question, the search dialog box under the custom message
CodePudding user response:
http://blog.csdn.net/a29562268/article/details/68955729You can use this method