Board index » delphi » Prevent another App running.

Prevent another App running.

I have 2 applications that share a common database (on the same
computer) and I want to prevent both of them running at the same time. I
know how to prevent multiple instances of the same app running but not
other apps. Any ideas ?

email if required.

TIA - John.


Re:Prevent another App running.

Have each application attempt to create the same named MUTEX.

See "Using CreateMutex" at

Other Threads