borland c++ windows95 serial port

How do a write a windows program using Borland C++ BUILDER  that will read and write to the serial port, we are trying to port our DOS based C program to a Windows Boland C++ Bulider  program and Borland C++ Builder does not have an inport or outport command, what other commands can I use?
pinoy081098Asked:
Who is Participating?
 
alexoConnect With a Mentor Commented:
CreateFile() the serial port ("COM1", etc.) then ReadFile(), WriteFile() etc.
0
 
pinoy081098Author Commented:
Edited text of question
0
 
pinoy081098Author Commented:
Edited text of question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.