Message-Id: <200012240408.XAA07907@delorie.com> Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Corinna Vinschen cc: dave AT dtsp DOT co DOT nz Subject: Re: get windows messages In-Reply-To: Your message of "Wed, 20 Dec 2000 14:13:24 BST." <0012201413240R DOT 28008 AT cygbert> X-Face: /B9VTI#fcP.}X/h^;-~C,RyvcjB8gD' s!52iF{}"OR9bmoP Corinna Vinschen writes: > On Wednesday 20 December 2000 14:58, flav wrote: > > hello, > > =09I would like to know if it is possible to get the windows > > message and if it is possible, how to get them (without using the > > windows > > main loop) > > =46rom the Cygwin source code: > > open ("/dev/windows", flags, mode=3D0) > - create a unix fd for message queue. I know this is a bit after the fact, but wouldn't some kind of special "socket" domain/family have been more appropriate here? x = socket(PF_WINMSG, SOCK_DGRAM, 0); Cheers, Dave -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple