[fpc-devel] simpleipc issues

Juha Manninen juha.manninen62 at gmail.com
Tue Sep 29 14:53:58 CEST 2015


On Tue, Sep 29, 2015 at 2:50 PM, Michael Van Canneyt
<michael at freepascal.org> wrote:
> I am not proposing to make a new class.
> I want a property "SingeInstance" in CustApp which activates this
> automatically.

I had the very same idea when this was discussed a long time ago in
Lazarus list.
Martin Friebe noted that every application would then depend on this
single-instance IPC code.
It was a valid point. There should not be such a dependency.

The right way is to use a drag-and-drop LCL component like the one
from Luiz Américo.
The question is should we replace his component with a better one
based on Ondrej's AdvancedIPC.
I think we should because SimpleIPC apparently has limitations.

Michael, an LCL component is as beginner friendly as your
SingeInstance property would be.

Regards,
Juha



More information about the fpc-devel mailing list