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

Robert Collins robert.collins@itdomain.com.au
Tue Apr 10 20:34:00 GMT 2001


> -----Original Message-----
> From: Harold Hunt [ mailto:huntharo@msu.edu ]
> Sent: Wednesday, April 11, 2001 12:37 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Possibly incorrect explanation of how WaitForSomething
> works (and how to fix it) [RC and CGF please comment]
> 
> 
> 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 :)

They dont :], And IMO shouldn'y have - that part of the X-Server should
be pure win32 calls... no argument !

Rob



More information about the Cygwin-xfree mailing list