Solved

how to switch b/w event driven and polling serial (port) communication using Visual C++?

Posted on 2004-08-03
1
457 Views
Last Modified: 2013-11-20
I need event driven serial comm to emulate hyper-terminal. I also need to polling serial port to read/write the register value from a embedded module and display it by just one button click which means sending read command and receive the value and display it. How do I do it?
0
Comment
Question by:benlian888
[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 86

Accepted Solution

by:
jkr earned 500 total points
ID: 11715885
Check out http://msdn.microsoft.com/library/en-us/dnfiles/html/msdn_serial.asp ("Serial Communications in Win32 ") - the sample that comes with the article (http://download.microsoft.com/download/4/7/2/47291d3a-b5b5-4447-8182-4b72b505a603/4918.exe) pretty much is like HyperTerm.
0

Featured Post

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
WinWaitActive parameters 12 31
post4 challenge 28 121
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 640
Message not shown 5 103
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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

734 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