This may prevent the "user" from creating more than one instance of a
class, but it won't prevent him/her from starting more than one instance
of the application.
Notice that the process's name is not necessarily unique on the system.
There can be, for example, 2 different applications with process name
"Calculator" on the machine.
Ask a Question
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.