I need to know the form to read a serial port with an API and display that information in the monitor of PC
Printable View
I need to know the form to read a serial port with an API and display that information in the monitor of PC
Hi, try:
www.vbcode.com
they had a snippet for this..
Cheers
You use the CreateFile api, then use ReadFile, CloseFile.
However it's more complicated than that. You actually have to create events see this page:
http://msdn.microsoft.com/library/de...sdn_serial.asp
I know. It's C++, but it explains what you have to do, and will give you an idea of why using the MSComm control is a better choice for this.