Gunnar Dalsnes wrote:
From MSDN OVERLAPPED: "Functions such as WriteFile set the event to the nonsignaled state before they begin an I/O operation"
So the ResetEvent additions are meaningless... Why did you add them?
Gunnar
You are right, the calls to ResetEvent are useless. I'll remove them.
Regards, Eric