delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/23/23:08:58

Message-Id: <200012240408.XAA07907@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: Corinna Vinschen <cygwin AT cygwin DOT com>
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<hkT AT _Cck=Z!N+_9Hd?76Mdht"Ed~SDzX5[6aU&>^;-~C,RyvcjB8gD'
s!52iF{}"OR9bmoP<zcZE)p<ywANjTYo2)m[aVsS\z:sHfNy/FVh=0CZp15]]UJwc=+=(Ht!gecYQ.
cylM}.EUWSWIE8LL<Xk~:GyFzN^Q^$)o#Y:W3vD)z?sybSE.`UNk%!r{PonNeAe{NxEj+qEN8spzrD
@OT/YETE{!~`n}oHb"%{mE4NHReDp0*#Hu8VKG9H49*tjHg6eU73c
X-Attribution: Dave
X-uri: http://www.dtsp.co.nz/
Date: Sun, 24 Dec 2000 17:10:29 +1300
From: Dave Sainty <dave AT dtsp DOT co DOT nz>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019