Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting if process is killed. Pin
jschell28-Jan-12 4:25
jschell28-Jan-12 4:25 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat28-Jan-12 7:59
Code-o-mat28-Jan-12 7:59 
AnswerRe: Detecting if process is killed. Pin
Randor 28-Jan-12 4:59
professional Randor 28-Jan-12 4:59 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat28-Jan-12 10:49
Code-o-mat28-Jan-12 10:49 
GeneralRe: Detecting if process is killed. Pin
Randor 28-Jan-12 11:59
professional Randor 28-Jan-12 11:59 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat28-Jan-12 23:33
Code-o-mat28-Jan-12 23:33 
GeneralRe: Detecting if process is killed. Pin
Randor 29-Jan-12 11:03
professional Randor 29-Jan-12 11:03 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat1-Feb-12 3:03
Code-o-mat1-Feb-12 3:03 
In case you care, here's what i found out till now:
-if you hit "End Process" on the "Processes" tab, Task Manager uses TerminateProcess
-if you hit "End Task" on the "Applications" tab, TM either uses EndTask, or it uses SendMessageTimeoutW to send WM_CLOSE to the app. I don't know by what condition it decides which one to use. However, if it considers the application hung (you see "Not Responding" in the "Status" column of its application list) then none of those calls are made but when you hit "End Task", a Windows Error Reporting window pops up asking if i want to look for solutions online. No idea what TM does to do this, i am trying to study the WER API to find out.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> If it doesn't matter, it's antimatter.<

GeneralRe: Detecting if process is killed. Pin
Randor 1-Feb-12 7:32
professional Randor 1-Feb-12 7:32 
QuestionParsing in C Pin
Software200727-Jan-12 8:29
Software200727-Jan-12 8:29 
AnswerRe: Parsing in C Pin
Chris Meech27-Jan-12 8:57
Chris Meech27-Jan-12 8:57 
GeneralRe: Parsing in C Pin
Software200727-Jan-12 9:09
Software200727-Jan-12 9:09 
GeneralRe: Parsing in C Pin
Chris Meech27-Jan-12 9:28
Chris Meech27-Jan-12 9:28 
GeneralRe: Parsing in C Pin
CPallini28-Jan-12 23:03
mveCPallini28-Jan-12 23:03 
GeneralRe: Parsing in C Pin
Erudite_Eric29-Jan-12 21:10
Erudite_Eric29-Jan-12 21:10 
AnswerRe: Parsing in C Pin
David Crow27-Jan-12 9:38
David Crow27-Jan-12 9:38 
GeneralRe: Parsing in C Pin
Software200727-Jan-12 9:52
Software200727-Jan-12 9:52 
GeneralRe: Parsing in C Pin
David Crow27-Jan-12 10:09
David Crow27-Jan-12 10:09 
Questionread/write disk sectors Pin
RomTibi27-Jan-12 7:21
RomTibi27-Jan-12 7:21 
QuestionProcess not entirely exiting Pin
Joe Woodbury27-Jan-12 5:49
professionalJoe Woodbury27-Jan-12 5:49 
AnswerRe: Process not entirely exiting Pin
Randor 27-Jan-12 6:33
professional Randor 27-Jan-12 6:33 
QuestionSet the font for text Pin
MKC00226-Jan-12 18:05
MKC00226-Jan-12 18:05 
QuestionRe: Set the font for text Pin
«_Superman_»26-Jan-12 18:36
professional«_Superman_»26-Jan-12 18:36 
AnswerRe: Set the font for text Pin
MKC00226-Jan-12 20:41
MKC00226-Jan-12 20:41 
GeneralRe: Set the font for text Pin
«_Superman_»26-Jan-12 20:48
professional«_Superman_»26-Jan-12 20:48 

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.