Introduction - If you have any usage issues, please Google them yourself
Detailed MFC serial communication programming, mainly introduces the CreateFile () function and the WriteFile () function to read and write serial instances, and set the serial port attribute instance.