Tech Support > Microsoft Windows > Development Resources > working with the serial port
working with the serial port
Posted by Pegboy on December 4th, 2003


I am updating a utility to capture serial port data that was originally
developed as a DOS app using the outportb() and inportb() routines. I am
trying to re-work it as a Win32 app using Borland C++ 5.02, but am finding
that outportb() and inportb() are not available for a Win32 target. There
is no fancy flowcontrol or packet protocols being used, just simply
capturing incoming serial data.

I am told that I need to use Windows API to do this. Can somebody direct
me to some 'basic' information on this topic?

Thank you for your help.

--------------------
Brian


Posted by Larry Lindstrom on December 4th, 2003


Pegboy wrote:

Hi Brian:

This is Microsoft's MTTTY example:

http://msdn.microsoft.com/library/de...sdn_serial.asp

Larry


Posted by Pegboy on December 4th, 2003


Thanks, that looks like some good info. Since my post, I've found that
Borland's help files were a good start.
Thanks again.

-----------------
Brian

"Larry Lindstrom" <larryl@nospam.com> wrote in message
news:3FCE9809.2060906@nospam.com...



Similar Posts