Bome Software

TOneInstance Delphi component

>Home
>Products
 >Restorator
 >ReNovator
 >Midi Translator
 >Mouse Keyboard
 >SendSX
 >CS1x-Edit
 >Delphi components
 >Tools
 >More products
>Forums
>Search
>About
>Contact me

Overview

This component prevents that your application may be started more than once at a time.

To the first instance are passed the parameters with which the second instance was started. The first instance is shown and the second instance is closed (= never shown).

Special handling occurs when the first instance doesn't react during 10 seconds: in this case the second instance will start nonetheless (for the case of a crash of the first instance).

It demonstrates the use of semaphores and shared memory.

License

Postcardware: if you use this component in a program of yours, send me a (real) postcard from your place. More information and the address can be found in the download file. Please contact me in case of questions.

Download

oneinst.zip (7KB) TOneInstance v1.02

Announcement list

Subscribe to the announcement list to receive an email when I release a new version.
 
(c) 1997-2008 by Bome Software
Last modified on May 4th 2008