Solved

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

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

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

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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