Solved

Serial Communication with MFC

Posted on 1998-05-03
1
304 Views
Last Modified: 2013-11-19
I'm doing a project for win95/NT that will need to handle some i/o on a serial port. Thus far I have been unable to find any books, web pages, or source code showing how to do this with MFC. Pointers to some good resources and/or source code appreciated.
0
Comment
Question by:beyondrob
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 50 total points
ID: 1306274
One solution is to use the MSCOMM32 control that ships with Visual C++. See the VCTERM sample in the product; it demonstrates the control quite aggressively.

Another solution is to buy a third party library (or control).  Greenleaf has been in the communications library business longer than anyone in the PC market.  If you can't afford a library, you might want to cull the web for freeware libraries that people have written.

A third approach is to use the WIN32 APIs directly. There are a few samples that show how, like the MTTTY sample in the knowledge base or the TTY sample in the SDK.  

.B ekiM

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

837 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