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

x
?
Solved

Event trigger for ReadFile?

Posted on 2000-04-27
1
Medium Priority
?
283 Views
Last Modified: 2012-05-04
I am accessing multiple serial ports using CreateFile to get a handle to the port and then using WriteFile to output strings to equipment that my program is controlling. I would like to know how to trigger an event when there is data at the serial port for ReadFile to retrieve.
0
Comment
Question by:SilverDragon
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 400 total points
ID: 2756756
See http://msdn.microsoft.com/library/techart/msdn_serial.htm - this article describes this issue in-depth...

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

926 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