On Monday 18 April 2016 09:51:41 Yuri wrote: > Hello Martin! > > What is the best way to make only one instance per application running at > same time? In Lazarus CL there is UniqueInstance component for this > purpose. What about MSEGUI? > MSEgui currently has no such component, added to wishlist. Maybe as extension to TCustomApplication: "if not application.isuniqe() then ...;". AFAIK there are different implementations possible (named pipe, socket, lockfile...), I didn't need it myself up to now. Maybe look at LCL for inspiration?
Martin ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

