What is the use for a Mutex if you can't name it?
问题 I am having a hard time figuring out what good a mutex is without naming it. Specifically I want to make my Windows Mobile 6.5 app single-instance. There are a few questions and answers on this site about how to do that - and the best ones seem to use named mutexes. Unfortunately the CTORS for mutexes in compact framework do not take a string - one can only create a mutex. Now, what good is a mutex if it has no associated ID? Am I missing something? How do I use a mutex to protect a resource