Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

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?
0
pinoy081098
Asked:
pinoy081098
  • 2
1 Solution
 
pinoy081098Author Commented:
Edited text of question
0
 
pinoy081098Author Commented:
Edited text of question
0
 
alexoCommented:
CreateFile() the serial port ("COM1", etc.) then ReadFile(), WriteFile() etc.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now