Single instance of application (different users)

  • Thread starter Thread starter drasko.andric
  • Start date Start date
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
 
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
 
Back
Top