Mutex & Windows Services

  • Thread starter Thread starter Louis Liu
  • Start date Start date
L

Louis Liu

Hi, I got a error message as I try to use mutex in windows service with
other application.
I start the mutex when the windows service start, the mutex is released by
the service only after some work. I try to require this mutex in some other
application and force them to wait till the service release the mutex.
However I got a "Access is denied" everytime I try to create the mutex in
the application.

Is there any other way to handle this problem?
Thanks!
 
The Windows Service should run in the same security context as the other
application (same credentials).

Willy.
 

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

Back
Top