Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-03
1
Medium Priority
?
487 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 1500 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Integration Management Part 2

971 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