On Tue, Sep 29, 2015 at 2:50 PM, Michael Van Canneyt <mich...@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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel