[fpc-devel] simpleipc issues

Luiz Americo Pereira Camara luizamericop at gmail.com
Tue Sep 29 22:04:34 CEST 2015

2015-09-29 16:12 GMT-03:00 Michael Van Canneyt <michael at freepascal.org>:

> On Tue, 29 Sep 2015, Luiz Americo Pereira Camara wrote:
> Unit uniqueinstanceraw
>> Please look carefully
> My sincere apologies,
No problem.

To be clear, i don't plead to uniqueinstance be used by fpc or Lazarus at

This is the message i sent to Lazarus dev list when discussing the
possibility of using in Lazarus IDE:


This all the code that is needed to implement unique instance feature on
top of simpleipc.
Such simple logic could even be copied to IDE instead of using the package

On the other side, i still think that should be kept out of
TCustomApplication. While the simple requirement of checking another
instance is easy to implement into TCustomApplication, others may want more
features / control (See bug report for examples). Those that need it would
duplicate part of the code.

Maybe create fpUniqueInstance on top of Ondrej work, making extensible and

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150929/b3aee35c/attachment.html>

More information about the fpc-devel mailing list