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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Communication with serial port.

Status
Not open for further replies.

OOP

Programmer
Feb 5, 2001
94
SG
I'am now working on C++ Builder, and would like to sent simple data(such as integar like 65) to serial port. I heard that i somehow has to use the Win32 programming language like CreateFile and WriteFile.

Does anyone know how to do it ?
Pls help.
 
There is a web site at that has a FAQ that will answer that. Instead of copying it here and risking copyright voilation, I would suggest you go to their site and look for the FAQ titled "Send and receive data from a serial port (RS-232)." It provides an example and some source code for programs that will work for you.

James P. Cottingham
 
Thanks a lot !!
I've checked the website, it's useful to me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top