serial port programming

Programming, for all ages and all languages.
Post Reply
Ozguxxx

serial port programming

Post 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...
Tim

Re:serial port programming

Post by Tim »

Use CreateFile("COM1") to open COM1 (or COM2, etc.). Use ReadFile and WriteFile as normal. Read MSDN for more information.
anubis

Re:serial port programming

Post 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.
Post Reply