?
Solved

Serial Communication with MFC

Posted on 1998-05-03
1
Medium Priority
?
315 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
[X]
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
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 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