Page 1 of 1

serial port programming

Posted: Mon Nov 24, 2003 12:03 pm
by Ozguxxx
Hi, I am searching for serial port programming in visual c++, I am currently searching on the net but if you know any good links OR books, I would appreciate if you could show it. Thanks...

Re:serial port programming

Posted: Mon Nov 24, 2003 1:49 pm
by Tim
Use CreateFile("COM1") to open COM1 (or COM2, etc.). Use ReadFile and WriteFile as normal. Read MSDN for more information.

Re:serial port programming

Posted: Wed Dec 03, 2003 1:38 pm
by anubis
Serial port complete- by Jan Axelson at
amazon

An excellent book to learn about the serial port.

BTW this is the authors own site LVR which has its own serial port links that might be very useful.

-Hope it helps.