Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I access a serial port in VC++?

Status
Not open for further replies.

aryajur

Programmer
Jul 2, 2003
45
US
Hello,
Can anybody tell me how can I access a serial port ot communicate to another port in VC++?

 

You can use ::CreateFile() to open the port and ::ReadFile() and ::WriteFile() to read from/write to the buffer.

There should be some examples on the MSDN somewhere...

CMR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top