Solved

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

Posted on 2004-08-03
1
413 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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: 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…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now