On 2013-04-04 10:45, Mark Morgan Lloyd wrote:
> 
> So far I've had no success porting that to Windows using named pipes,

Ah, thanks for the idea. SimpleIPC should be able to do the trick -
similar to how apps communicate to a DebugServer (using dbugintf and
SimpleIPC units).

First instance will search for a known IPC server, if none exist, start
the Simple IPC server. Second instance will first see if a existing IPC
server exists, and if so, send the open command to it, then quit.

That should work in a cross-platform way too.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to