Single instance of application (different users)

D

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
 
E

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
 

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.

Ask a Question

Top