Unique process on Win32?
| From: | Benjamin Smith | Date: | Thu, 08 May 2003 23:01:42 +0000 |
| Subject: | Unique process on Win32? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3385@lists.php.net to get a copy of this message | ||
What's a good way to make sure that there's one (and only one) instance of a
program running on Win32?
I've tried opening a lock file, hoping that multiple fopen() would cause an
error or something I can trap. So far, no errors.
Any ideas?