Possibly incorrect explanation of how WaitForSomething works (and how to fix it) [RC and CGF please comment]

Harold Hunt huntharo@msu.edu
Tue Apr 10 19:39:00 GMT 2001


Chris,

> Ouch.  I wasn't aware of this.  Does this project actually belong in
> the win32-x11 domain, then?  Are you using CreateFile instead
> of fopen,
> ReadFile instead of read(), etc?  If so, that means that all of the
> cygwin mount table and other directory handling will be bypassed.

Oh... uh... well... I haven't had to open a file yet, per se.  Rather, I'm
been calling functions like PeekMessage, DispatchMessage,
IDirectDrawSurface_Blt, CreateDIBSection, etc.

I don't really know that those have Cygwin counterparts :)

All the lower level OS layer functions are passed through Cygwin; such as
opening files, select, sockets, etc.  I haven't touched that code yet.

Harold



More information about the Cygwin-xfree mailing list