2013/4/5 Graeme Geldenhuys <gra...@geldenhuys.co.uk>: > 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.
The uniqueinstance componente does all this Luiz _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal