Click here to Skip to main content
15,883,705 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Child-process without parents [modified] Pin
Stephen Hewitt9-Sep-07 22:26
Stephen Hewitt9-Sep-07 22:26 
GeneralRe: Child-process without parents Pin
baerten9-Sep-07 22:50
baerten9-Sep-07 22:50 
GeneralRe: Child-process without parents Pin
Stephen Hewitt10-Sep-07 14:37
Stephen Hewitt10-Sep-07 14:37 
GeneralRe: Child-process without parents Pin
baerten10-Sep-07 21:52
baerten10-Sep-07 21:52 
GeneralRe: Child-process without parents Pin
Stephen Hewitt10-Sep-07 22:05
Stephen Hewitt10-Sep-07 22:05 
GeneralRe: Child-process without parents Pin
baerten10-Sep-07 22:27
baerten10-Sep-07 22:27 
GeneralRe: Child-process without parents Pin
Stephen Hewitt11-Sep-07 19:26
Stephen Hewitt11-Sep-07 19:26 
AnswerRe: Child-process without parents Pin
vipin_nvk9-Sep-07 22:27
vipin_nvk9-Sep-07 22:27 
Hello

It seems if you create a process in your application using createprocess or any other API and if the parent application gets terminated forcibly (as in your case) the child process will not get terminated. For referenc refer the "Terminating a Process" section of the MSDN. To go to this topic, look into the Remarks section of "CreateProcess" API.

In the "Terminating a Process" it is clearly mentioned as "When the system is terminating a process, it does not terminate any child processes that the process has created."

However in that section they have mentioned a possibility of achieving ur requirement of terminating a child process when the parent application gets terminated.

Thanx

GeneralRe: Child-process without parents Pin
baerten9-Sep-07 23:49
baerten9-Sep-07 23:49 
GeneralRe: Child-process without parents Pin
Stephen Hewitt10-Sep-07 15:57
Stephen Hewitt10-Sep-07 15:57 
Questionfocus in edit control Pin
bhogavalli suresh9-Sep-07 20:03
bhogavalli suresh9-Sep-07 20:03 
AnswerRe: focus in edit control Pin
Nishad S9-Sep-07 20:08
Nishad S9-Sep-07 20:08 
GeneralRe: focus in edit control Pin
bhogavalli suresh9-Sep-07 20:29
bhogavalli suresh9-Sep-07 20:29 
GeneralRe: focus in edit control Pin
Nishad S9-Sep-07 20:32
Nishad S9-Sep-07 20:32 
GeneralRe: focus in edit control Pin
Wamuti9-Sep-07 21:35
Wamuti9-Sep-07 21:35 
GeneralRe: focus in edit control Pin
Nishad S9-Sep-07 22:24
Nishad S9-Sep-07 22:24 
AnswerRe: focus in edit control Pin
Sreedhar DV9-Sep-07 20:33
Sreedhar DV9-Sep-07 20:33 
AnswerRe: focus in edit control Pin
Wamuti9-Sep-07 21:25
Wamuti9-Sep-07 21:25 
GeneralRe: focus in edit control Pin
Stephen Hewitt9-Sep-07 22:03
Stephen Hewitt9-Sep-07 22:03 
QuestionRe: focus in edit control Pin
Wamuti9-Sep-07 22:47
Wamuti9-Sep-07 22:47 
GeneralRe: focus in edit control Pin
Wamuti9-Sep-07 22:54
Wamuti9-Sep-07 22:54 
QuestionDeviceIoControl Pin
Waldermort9-Sep-07 19:26
Waldermort9-Sep-07 19:26 
AnswerRe: DeviceIoControl Pin
Nishad S9-Sep-07 20:11
Nishad S9-Sep-07 20:11 
GeneralRe: DeviceIoControl Pin
Waldermort9-Sep-07 20:14
Waldermort9-Sep-07 20:14 
GeneralRe: DeviceIoControl Pin
Nishad S9-Sep-07 20:30
Nishad S9-Sep-07 20:30 

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.