in reply to serial port control on Windows

Here are two examples I've written with the Windows serial port interface. Maybe they will be helpful.