Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internal Error Pin
ThatsAlok2-Dec-05 1:16
ThatsAlok2-Dec-05 1:16 
QuestionFrom TaskManager - Do not want anyone end task an App./Pross Pin
PanB1-Dec-05 22:03
PanB1-Dec-05 22:03 
AnswerRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok1-Dec-05 23:24
ThatsAlok1-Dec-05 23:24 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
PanB1-Dec-05 23:27
PanB1-Dec-05 23:27 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok2-Dec-05 0:55
ThatsAlok2-Dec-05 0:55 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
PanB2-Dec-05 1:01
PanB2-Dec-05 1:01 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok2-Dec-05 1:12
ThatsAlok2-Dec-05 1:12 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
Blake Miller2-Dec-05 6:18
Blake Miller2-Dec-05 6:18 
How about this.

Duplicate your A.EXE process handle and give the copy 'inheritable' permissions before starting the child process. Pass the handle's value to the child process. Then the child can check the duplicated parent process handle to see if it is signaled to detect that the parent process has exited.

Else, have the child just 'open' the parent process to see if it is running, and use that opened handle to watch for it being signaled.

I can't believe you recommended FindWindow, you should know better than that WTF | :WTF:
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok4-Dec-05 17:55
ThatsAlok4-Dec-05 17:55 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
Blake Miller5-Dec-05 6:01
Blake Miller5-Dec-05 6:01 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok5-Dec-05 17:34
ThatsAlok5-Dec-05 17:34 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok5-Dec-05 21:11
ThatsAlok5-Dec-05 21:11 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
Blake Miller6-Dec-05 8:39
Blake Miller6-Dec-05 8:39 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok6-Dec-05 17:08
ThatsAlok6-Dec-05 17:08 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok6-Dec-05 18:51
ThatsAlok6-Dec-05 18:51 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
Eytukan2-Dec-05 2:09
Eytukan2-Dec-05 2:09 
GeneralRe: From TaskManager - Do not want anyone end task an App./Pross Pin
ThatsAlok6-Dec-05 18:55
ThatsAlok6-Dec-05 18:55 
AnswerRe: From TaskManager - Do not want anyone end task an App./Pross Pin
Sheng Jiang 蒋晟3-Dec-05 8:55
Sheng Jiang 蒋晟3-Dec-05 8:55 
AnswerRe: From TaskManager - Do not want anyone end task an App./Pross Pin
PanB7-Dec-05 17:54
PanB7-Dec-05 17:54 
QuestionAccess 2000 Ole Integration Pin
pabloqnk1-Dec-05 21:13
pabloqnk1-Dec-05 21:13 
AnswerRe: Access 2000 Ole Integration Pin
Branislav2-Dec-05 23:54
Branislav2-Dec-05 23:54 
Questionunicode problem Pin
QuickDeveloper1-Dec-05 20:54
QuickDeveloper1-Dec-05 20:54 
AnswerRe: unicode problem Pin
sunit51-Dec-05 21:32
sunit51-Dec-05 21:32 
AnswerRe: unicode problem Pin
Taka Muraoka1-Dec-05 22:04
Taka Muraoka1-Dec-05 22:04 
AnswerRe: unicode problem Pin
ThatsAlok6-Dec-05 19:03
ThatsAlok6-Dec-05 19:03 

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.