how to make singleton application in C++
hi,
i m trying to make singleton application so only one instace can run at a time. i tried to used executable name and process id but any one can change executable name.
i dont want to use any port because if that port is used by any other application then application will not run.
Do u have any idea how i can make my application as single application (c++) ?
Manish
|