• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 508
  • Last Modified:

RS232 Communication Programming Books/Sites

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++.
1 Solution
Try out samples tty.c and tty.h
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 www.codeguru.com, ther you can find the souce of a class for dealing with the serial ports.
alokanantAuthor Commented:
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.
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.
You can find the Greenleaf lib at http://www.greenleafsoftware.com
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.
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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