On Tue, Aug 04, 2009 at 01:12:06PM +0200, Enrico Forestieri wrote:
> On Tue, Aug 04, 2009 at 12:41:48PM +0200, Vincent van Ravesteijn - TNW wrote:
> 
> >  
> > >Jannick Asmus writes:
> > >
> > >> Is there any chance that this feature is included in the Windows 
> > >> installers in the future?
> > >
> > >You can always hope that someone contributes the necessary code.
> > 
> > Enrico, 
> > 
> > Do you have an idea how to do this ? I've some experience with DDE, but
> > I'm not sure whether that's what we want.
> 
> LyX uses two mechanisms for IPC. One of them is a named pipe, and currently
> the code for dealing with named pipes only takes into account the *nix
> implementation (which is what cygwin uses). However, named pipes also
> exist on Windows, but thy are implemented differently. I am not familiar
> with the Windows way, but I think that the necessary info can be found here:
> http://msdn.microsoft.com/en-us/library/aa365590(VS.85).aspx
> 
> The other mechanism is a unix domain socket, which has no equivalent on
> Windows. However, given that cygwin can also emulate that, it should be
> possible to use this kind of IPC, too. Cygwin is open source, so if one
> is sufficiently motivated, he could look at those sources for borrowing
> the necessary code.
> 
> Maybe other native means could be used, but I am a *nix fellow and don't
> know Windows well enough to judge.

QLocalSocket (http://doc.trolltech.com/4.5/qlocalsocket.html) comes to
mind. Saves headaches.

Andre'

Reply via email to