How can I limited to just create a single instance of application?? When user click the exe agin , i want to opened application set to focus...like Outlook Express.
Although this is the accepted method (using a simple named mutex), there are
cases where it doesn't work, specifically when running in a different user
context such as under Terminal Services.
To get this method to unconditionally work, prepend the mutex name with
"Global\\".
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.