Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Only One Instance to be opened... Pin
Manfred Ramosch6-Mar-01 12:44
Manfred Ramosch6-Mar-01 12:44 
GeneralRe: Only One Instance to be opened... Pin
l a u r e n6-Mar-01 20:38
l a u r e n6-Mar-01 20:38 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.6-Mar-01 21:15
.::RockNix::.6-Mar-01 21:15 
GeneralRe: Only One Instance to be opened - alternative Pin
l a u r e n6-Mar-01 22:51
l a u r e n6-Mar-01 22:51 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.7-Mar-01 2:24
.::RockNix::.7-Mar-01 2:24 
GeneralRe: Only One Instance to be opened - alternative Pin
James R. Twine7-Mar-01 3:46
James R. Twine7-Mar-01 3:46 
GeneralRe: Only One Instance to be opened - alternative Pin
.::RockNix::.7-Mar-01 4:22
.::RockNix::.7-Mar-01 4:22 
GeneralRe: Only One Instance to be opened - alternative Pin
James R. Twine7-Mar-01 5:39
James R. Twine7-Mar-01 5:39 
> The question is what will happen with a mutex-object which owner is no longer running ?

   The documentation says that the handle to a created/obtained Mutex object is automatically closed when the process terminates.  I am not sure if that includes abnormal termination.  I am *fairly* certain I have had Mutex objects get "orphaned" on me in the past.

   But the thing I would concerned about is not really abnormal termination of your process, but your process trying to shut down, but cannot, because of a rogue/blocked thread, or something like that.  You app will *appear* to have shut down to the user, but will still be sitting in the background someplace.  Of course, you should try to prevent stuff like this from happening, but Sh*t Happens! Eek! | :eek:

   MSDEV tends to do that to me at least twice a day (goes to sleep in the background after a shutdown)! Smile | :)

   Peace!

-=- James.
GeneralRe: Only One Instance to be opened... Pin
James R. Twine7-Mar-01 3:34
James R. Twine7-Mar-01 3:34 
QuestionWhy does Seek fail in ADO, even though it should support it? Pin
Brendan Tregear6-Mar-01 11:28
Brendan Tregear6-Mar-01 11:28 
AnswerRe: Why does Seek fail in ADO, even though it should support it? Pin
l a u r e n6-Mar-01 11:49
l a u r e n6-Mar-01 11:49 
GeneralMmmm, I suspect you're right... (n/t) Pin
Brendan Tregear6-Mar-01 12:15
Brendan Tregear6-Mar-01 12:15 
GeneralPLEASE HELP: debug_assertion in property page creation Pin
Joan M6-Mar-01 7:45
professionalJoan M6-Mar-01 7:45 
GeneralRe: PLEASE HELP: debug_assertion in property page creation Pin
6-Mar-01 11:05
suss6-Mar-01 11:05 
Generalmessage for christian... Pin
l a u r e n6-Mar-01 11:40
l a u r e n6-Mar-01 11:40 
GeneralRe: message for christian... Pin
Christian Graus6-Mar-01 13:49
protectorChristian Graus6-Mar-01 13:49 
GeneralGetting Message problem.... Pin
Richard Cheng6-Mar-01 6:55
Richard Cheng6-Mar-01 6:55 
GeneralRe: Getting Message problem.... Pin
l a u r e n6-Mar-01 9:28
l a u r e n6-Mar-01 9:28 
GeneralRe: Getting Message problem.... Pin
Richard Cheng6-Mar-01 9:45
Richard Cheng6-Mar-01 9:45 
GeneralRe: Getting Message problem.... Pin
Richard Cheng6-Mar-01 9:45
Richard Cheng6-Mar-01 9:45 
GeneralRe: Getting Message problem.... Pin
l a u r e n6-Mar-01 11:39
l a u r e n6-Mar-01 11:39 
GeneralRe: Getting Message problem.... Pin
Richard Cheng6-Mar-01 12:11
Richard Cheng6-Mar-01 12:11 
GeneralRe: Getting Message problem.... Pin
l a u r e n6-Mar-01 12:13
l a u r e n6-Mar-01 12:13 
GeneralRe: Getting Message problem.... Pin
Richard Cheng6-Mar-01 12:13
Richard Cheng6-Mar-01 12:13 
GeneralRe: Getting Message problem.... Pin
l a u r e n6-Mar-01 12:21
l a u r e n6-Mar-01 12:21 

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.