Click here to Skip to main content
15,890,438 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerCross post Pin
Wes Aday24-Aug-12 0:57
professionalWes Aday24-Aug-12 0:57 
GeneralRe: Cross post Pin
SoMad24-Aug-12 8:10
professionalSoMad24-Aug-12 8:10 
AnswerRe: SQL Connection problem in Windows Service asp.net c# Pin
Vijay Selvaraj27-Aug-12 0:29
Vijay Selvaraj27-Aug-12 0:29 
GeneralRe: SQL Connection problem in Windows Service asp.net c# Pin
Pete O'Hanlon27-Aug-12 2:49
mvePete O'Hanlon27-Aug-12 2:49 
QuestionProcess Kill HELP! Pin
jitforce258523-Aug-12 8:32
jitforce258523-Aug-12 8:32 
AnswerRe: Process Kill HELP! Pin
Wes Aday23-Aug-12 9:08
professionalWes Aday23-Aug-12 9:08 
AnswerRe: Process Kill HELP! Pin
Richard Andrew x6423-Aug-12 11:38
professionalRichard Andrew x6423-Aug-12 11:38 
AnswerRe: Process Kill HELP! Pin
Dave Kreskowiak23-Aug-12 18:40
mveDave Kreskowiak23-Aug-12 18:40 
You don't understand how Task Manager does an "End Process", do you??

When you "End Process" something in Task Manager, it first tries to shutdown the process gracefully by sending a WM_CLOSE message to the app's main window. If the app doesn't respond to it, Task Manager will call TerminateProcess on the targeted process which will immediately halt all threads in the process, wait for any pending I/O operations to complete and then free up the memory that the process occupies.

When I say halt the process/threads, I mean your process stops executing immediately. Your code never gets notified of anything and never gets a chance to respond to ANYTHING. It just ceases to exist. That's why your code never gets executed.

GeneralRe: Process Kill HELP! Pin
jitforce258524-Aug-12 5:28
jitforce258524-Aug-12 5:28 
GeneralRe: Process Kill HELP! Pin
Dave Kreskowiak24-Aug-12 6:19
mveDave Kreskowiak24-Aug-12 6:19 
GeneralRe: Process Kill HELP! Pin
jitforce258524-Aug-12 17:33
jitforce258524-Aug-12 17:33 
AnswerRe: Process Kill HELP! Pin
Eddy Vluggen24-Aug-12 22:27
professionalEddy Vluggen24-Aug-12 22:27 
AnswerRe: Process Kill HELP! Pin
Vijay Selvaraj27-Aug-12 0:30
Vijay Selvaraj27-Aug-12 0:30 
GeneralRe: Process Kill HELP! Pin
Eddy Vluggen27-Aug-12 1:25
professionalEddy Vluggen27-Aug-12 1:25 
QuestionHow to debug Visual Studio Crashing Pin
Clark Kent12322-Aug-12 9:13
professionalClark Kent12322-Aug-12 9:13 
AnswerRe: How to debug Visual Studio Crashing Pin
Big Daddy Farang22-Aug-12 9:56
Big Daddy Farang22-Aug-12 9:56 
GeneralRe: How to debug Visual Studio Crashing Pin
Clark Kent12323-Aug-12 1:57
professionalClark Kent12323-Aug-12 1:57 
GeneralRe: How to debug Visual Studio Crashing Pin
Anand Deshmukh23-Aug-12 3:01
Anand Deshmukh23-Aug-12 3:01 
AnswerRe: How to debug Visual Studio Crashing Pin
Wes Aday22-Aug-12 11:26
professionalWes Aday22-Aug-12 11:26 
GeneralRe: How to debug Visual Studio Crashing Pin
Clark Kent12323-Aug-12 1:52
professionalClark Kent12323-Aug-12 1:52 
AnswerRe: How to debug Visual Studio Crashing Pin
Richard MacCutchan22-Aug-12 21:13
mveRichard MacCutchan22-Aug-12 21:13 
GeneralRe: How to debug Visual Studio Crashing Pin
Clark Kent12323-Aug-12 1:48
professionalClark Kent12323-Aug-12 1:48 
GeneralRe: How to debug Visual Studio Crashing Pin
Richard MacCutchan23-Aug-12 1:51
mveRichard MacCutchan23-Aug-12 1:51 
GeneralRe: How to debug Visual Studio Crashing Pin
Clark Kent12323-Aug-12 1:55
professionalClark Kent12323-Aug-12 1:55 
GeneralRe: How to debug Visual Studio Crashing Pin
Eddy Vluggen23-Aug-12 2:06
professionalEddy Vluggen23-Aug-12 2:06 

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.