Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


RS232 Communication Programming Books/Sites

Posted on 1999-07-12
Medium Priority
Last Modified: 2013-11-20
Please tell me about the books/sites available on programming communication with RS 232 port using VC++ MFC. In case this is not possible please suggest books/sites which describe RS232 communication with VC++.
Question by:alokanant
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1309536
Try out samples tty.c and tty.h

Accepted Solution

ashman061699 earned 0 total points
ID: 1309537
I use a library from Greenleaf inc., called GF Comm++. Very good, max speed, pure C++, no MFC-overhead. I use it in pure Win32 Apps and Apps with MFC.

Another ressource is, ther you can find the souce of a class for dealing with the serial ports.

Author Comment

ID: 1309538
Dear ashman,
Thanks for your reply. I am a novice at VC++, please elaborate a little more.
Can you please suggest how to access the library from GreenLeaf Inc. and where to get the files tty.c and tty.h?
Further is there any MFC class which supports RS232 communication, so that I can inherit my class from it.

Expert Comment

ID: 1309539
A possible starting place is to look at the help for the BIOS.H in borland turbo c++ 3.0, there is a bit of sample code to get you started if you want to avoid MFC. Also, look at the VCTERM sample in MFC.

Expert Comment

ID: 1309540
You can find the Greenleaf lib at
Another linkpage to class-libraries for serial port communication is at
This are all commercial libraries.

For a freeware library, have a look at
This is really good, and source is available (so you can learn to do the task yourself, if you want to). But if you also want support for various transfer-protokolls (like XYZ-Modem, ...) , you need a lib  from above.

Hope this will help.

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

715 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