[fpc-pascal] File Association and opening with already running app

luiz americo pereira camara luizmed at oi.com.br
Sat Apr 6 00:52:09 CEST 2013


2013/4/5 Graeme Geldenhuys <graeme at 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



More information about the fpc-pascal mailing list