Click here to Skip to main content
15,900,399 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z9-Oct-07 22:47
Stevo Z9-Oct-07 22:47 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 4:45
led mike10-Oct-07 4:45 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 5:24
Stevo Z10-Oct-07 5:24 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 5:58
led mike10-Oct-07 5:58 
AnswerRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 8:36
Stevo Z10-Oct-07 8:36 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 8:51
led mike10-Oct-07 8:51 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 9:32
Stevo Z10-Oct-07 9:32 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 10:13
led mike10-Oct-07 10:13 
Zilo(svk) wrote:
However, it looks that you're not willing to bless my mind with a reason why it doesn't work my way


At this point I don't think I have ever understood what you have said. When I run your code it behaves exactly as I expect it would. My code behaves differently because it is different.

In both cases the usage of the Mutex to verify single instance status works correctly, it is the remainder of the code that is different. Your code correctly identifies that it is a second instance but then continues to launch another instance prior to exiting. My code correctly identifies that it is a second instance and exits directly without launching another instance.



GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 10:45
Stevo Z10-Oct-07 10:45 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 11:03
led mike10-Oct-07 11:03 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 11:14
Stevo Z10-Oct-07 11:14 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
led mike10-Oct-07 11:36
led mike10-Oct-07 11:36 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 11:44
Stevo Z10-Oct-07 11:44 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Dave Kreskowiak10-Oct-07 14:05
mveDave Kreskowiak10-Oct-07 14:05 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 20:25
Stevo Z10-Oct-07 20:25 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Stevo Z10-Oct-07 22:01
Stevo Z10-Oct-07 22:01 
GeneralRe: Mutex.ReleaseMutex() asynchronous ? Pin
Dave Kreskowiak11-Oct-07 1:56
mveDave Kreskowiak11-Oct-07 1:56 
QuestionWeb browser control (Print() functionality) - Printing in landscape from code Pin
madhusri9-Oct-07 3:25
madhusri9-Oct-07 3:25 
QuestionSerializing an Interface in C# Pin
Lucian.Palcu9-Oct-07 3:23
Lucian.Palcu9-Oct-07 3:23 
AnswerRe: Serializing an Interface in C# Pin
mav.northwind9-Oct-07 19:31
mav.northwind9-Oct-07 19:31 
GeneralRe: Serializing an Interface in C# Pin
Lucian.Palcu9-Oct-07 21:10
Lucian.Palcu9-Oct-07 21:10 
QuestionRe: Serializing an Interface in C# Pin
TJoe10-Oct-07 5:32
TJoe10-Oct-07 5:32 
AnswerRe: Serializing an Interface in C# Pin
Lucian.Palcu10-Oct-07 5:40
Lucian.Palcu10-Oct-07 5:40 
GeneralRe: Serializing an Interface in C# Pin
TJoe10-Oct-07 5:56
TJoe10-Oct-07 5:56 
AnswerRe: Serializing an Interface in C# Pin
Lucian.Palcu10-Oct-07 6:05
Lucian.Palcu10-Oct-07 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.