Solved

borland c++ windows95 serial port

Posted on 1998-08-10
3
648 Views
Last Modified: 2013-11-15
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
Comment
Question by:pinoy081098
  • 2
3 Comments
 

Author Comment

by:pinoy081098
ID: 1169873
Edited text of question
0
 

Author Comment

by:pinoy081098
ID: 1169874
Edited text of question
0
 
LVL 11

Accepted Solution

by:
alexo earned 100 total points
ID: 1169875
CreateFile() the serial port ("COM1", etc.) then ReadFile(), WriteFile() etc.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
Viewers will learn how to use the Hootsuite Dashboard.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question