How to implement a Singleton console application in VC6.0/Win2K?
Posted on 2003-11-20
I am looking for a way to develop a "singleton console Application" with VC 6.0/Windows2000. It means that only one console application is allowed to run in the machine. When the user attempt to run the application, if there already is an application running (however, is in inactive state), the existing one will be activated instead of creating a new one.
Could anyone here give me an idea or show me a sample about it?
Thank you in advance,