On Wed, Nov 01, 2006 at 07:05:34PM +0100, Abdelrazak Younes wrote: > Joost Verburg wrote: > >Abdelrazak Younes wrote: > >>>Sometimes you want to edit to same document in two places. However > >>>now we have this multiple window feature, it should not be possible > >>>anymore to start multiple LyX instances. Can someone take a look at > >>>this? > >> > >>Could you post again the code to do so? > > > >I can explain you how it works on Windows, > > Yes please. > > >I don't know about UNIX. Or > >does Qt provide some generic method? > > No but KDE does AFAIR. It's called KUniqueApplication or something like > that. We could borrow some of their code.
Why the f*** do you want to cripple LyX? These 'single instance' applications are a major pain (and never really work well) in a distributed environment. Windows has system-global entities to lock stuff, but it is essentially a single-user, non-network transparent OS that can live with blocking stuff as the single user is usually blocking only himself. This does not work on *nix (and it doesn't even work properly on Windows terminal server either) Andre' --
