[fpc-pascal] Windows find out if an application already is running
skalogryz.lists at gmail.com
Sun Mar 15 21:00:07 CET 2009
it's better to use named mutexes (supported on all Windows versions)
to find out if there's another instance of the app running.
do the following on application start:
- create a named mutex (constant name)
- try to lock the mutex (0 time waiting), if failed then there's
another instance already running.
More information about the fpc-pascal