Solved

Serial Communication with MFC

Posted on 1998-05-03
1
310 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 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