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

Graeme Geldenhuys graeme at geldenhuys.co.uk
Fri Apr 5 11:24:48 CEST 2013

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.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list