Solved

Event trigger for ReadFile?

Posted on 2000-04-27
1
260 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 100 total points
ID: 2756756
See http://msdn.microsoft.com/library/techart/msdn_serial.htm - this article describes this issue in-depth...

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

760 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

18 Experts available now in Live!

Get 1:1 Help Now