Every now and then one wants to make sure that only one instance of his application is running to prevent problems with shared resources when multiple instances are run concurrently.
This is called mutually exclusive access, in short Mut-Ex or Mutex.
MSDN has a nice article about Mutex Objects, which you should read to get a general understanding of the subject.
Allowing only one instance of your program
-Table of Contents
The Basics
Every now and then one wants to make sure that only one instance of his application is running to prevent problems with shared resources when multiple instances are run concurrently.This is called mutually exclusive access, in short Mut-Ex or Mutex.
MSDN has a nice article about Mutex Objects, which you should read to get a general understanding of the subject.
The API functions involved
Text here.'code hereThird Part Title
Text here.'code here