On 2013-04-04 16:34, Dennis wrote: > In windows, you can create Mutex. That's how I ensure no other instance > of the same program is running.
Yes I know that bit, and that is what I did for my old VB6 and Delphi 5 projects. The question here was not only about a "single instance" application, but also how to pass information to the first instance (eg: please open this new file in a tab) before the second instance terminates. Using SimpleIPC should do the trick nicely. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal