Home All Groups Group Topic Archive Search About

Single instance of application (different users)

Author
13 Apr 2006 9:54 AM
drasko.andric
I use mutex to ensure that my application is only once instanced. It
works fine but only for one user. Second user can run second instance
of app at the same time. I tought that mutex visibility is not limited
by user?
Any suggestions?

Thanx

Drasko

Author
13 Apr 2006 10:00 AM
Eugene Mayevski
Hello!
You wrote  on 13 Apr 2006 02:54:49 -0700:

da> I use mutex to ensure that my application is only once instanced. It
da> works fine but only for one user. Second user can run second instance
da> of app at the same time. I tought that mutex visibility is not limited
da> by user?
da> Any suggestions?

Check articles about prefixes for kernel objects (Local\, Global\) in MSDN
library.

With best regards,
Eugene Mayevski
Author
13 Apr 2006 10:28 AM
drasko.andric
It works!

Thank you

Drasko

AddThis Social Bookmark Button