Re: How to determine if an instance of your program is already running?
From: Miki Tebeka (miki.tebeka_at_zoran.com)
Date: 12/28/03
- Previous message: David LeBlanc: "RE: Project dream"
- In reply to: Mike: "How to determine if an instance of your program is already running?"
- Next in thread: Jarek Zgoda: "Re: How to determine if an instance of your program is already running?"
- Reply: Jarek Zgoda: "Re: How to determine if an instance of your program is already running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Dec 2003 23:53:43 -0800
Hello Mike,
You can have your program create a known directory (which IIRC an
atomic operation). When a new instance tries to create it, there will
be an exception.
Make sure that when you application is closing to remove this
directory.
HTH.
Miki
- Previous message: David LeBlanc: "RE: Project dream"
- In reply to: Mike: "How to determine if an instance of your program is already running?"
- Next in thread: Jarek Zgoda: "Re: How to determine if an instance of your program is already running?"
- Reply: Jarek Zgoda: "Re: How to determine if an instance of your program is already running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|