El 27/08/17 a les 21:52, James Richters ha escrit:
i think you're looking for IPC (InterProcess Communication)... with this, the 
second instance would load up, find that there is one already running, tell the 
already running one about the new file to load, and then exit...

Thank you, that is exactly what I want but did not know what it was called.

And here's simple wrapper around ipc to do what you want to do:
http://wiki.freepascal.org/UniqueInstance

Bye
--
Luca
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to