View Single Post
Old 05-23-2010, 04:34 PM   #23
Dale
Banned
 
Join Date: Jun 2005

Location: Western Missouri
Posts: 960
Originally posted by Jim Sachs:
Using a Mutex is a very common way to prevent a second instance of a program from opening.  
Please pardon the following rude question: According to who? Or rather, who recommended it as a good way to do that?

Sorry for the above, but my MSCS degree and 45+ years of experience in the IT field both say that it "inhales briskly". And it clearly doesn't work (sometimes) in this application.

Many things that are "very common" in some circles, are not necessarily "recommended".

Having said that:

Originally posted by Jim Sachs:
Nothing I can do until I can set up a system to see this occur when the debugger is running. That won't be happening for a while.  
I was not suggesting that it be changed - I was just interested, from a technical viewpoint, in why it was occasionally failing.

Besides, you didn't write that code. And it works almost all of the time.

I quite agree that it should be on something like Page 179 of the "fix it" list - if it's on any list at all.
Dale is offline   Reply With Quote