Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:26
iMikki29-Oct-09 8:26 
GeneralRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 8:28
professional«_Superman_»29-Oct-09 8:28 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:31
iMikki29-Oct-09 8:31 
GeneralRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 8:32
professional«_Superman_»29-Oct-09 8:32 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:35
iMikki29-Oct-09 8:35 
GeneralRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 8:36
professional«_Superman_»29-Oct-09 8:36 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:41
iMikki29-Oct-09 8:41 
QuestionTerminateProcess() and windows messages. Pin
Souldrift29-Oct-09 4:23
Souldrift29-Oct-09 4:23 
Hi there,

I got the following problem. For an application that I have already up and running I wrote something like an observer program. The observer simply checks from time to time if the application is still alive and responding. If that is, for whatever reason, no the case, the observer kills the application process (TerminateProcess()) and starts another instance.
Now that works quite well so far. Only when a windows error report or such something pops up in the trail of an application crash, the observer is unable to kill the application. So the whole mechanism breaks down.
My question is, is there a possibility to kill an application nonetheless? Or to find out what is blocking the killing and to kill that one first then?

I could get all the possible process names of the processes that might show up, but that will always leave a hole in the system.

Any ideas on that?

Souldrift
AnswerRe: TerminateProcess() and windows messages. Pin
David Crow29-Oct-09 4:29
David Crow29-Oct-09 4:29 
AnswerRe: TerminateProcess() and windows messages. Pin
CPallini29-Oct-09 7:49
mveCPallini29-Oct-09 7:49 
AnswerRe: TerminateProcess() and windows messages. Pin
«_Superman_»29-Oct-09 7:59
professional«_Superman_»29-Oct-09 7:59 
QuestionGet window handle on which mouse button was clicked Pin
staticv29-Oct-09 3:53
staticv29-Oct-09 3:53 
QuestionRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 4:25
David Crow29-Oct-09 4:25 
AnswerRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 5:12
staticv29-Oct-09 5:12 
AnswerRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 5:19
David Crow29-Oct-09 5:19 
GeneralRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 5:34
staticv29-Oct-09 5:34 
GeneralRe: Get window handle on which mouse button was clicked Pin
transoft29-Oct-09 7:37
transoft29-Oct-09 7:37 
GeneralRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 7:58
staticv29-Oct-09 7:58 
GeneralRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 8:05
David Crow29-Oct-09 8:05 
QuestionHandle general messages in dialog procedure Pin
Lianqing29-Oct-09 3:49
Lianqing29-Oct-09 3:49 
AnswerRe: Handle general messages in dialog procedure Pin
transoft29-Oct-09 7:22
transoft29-Oct-09 7:22 
Questioncreate window groups [closed - solved: feature not in Windows] Pin
shaosean29-Oct-09 2:42
shaosean29-Oct-09 2:42 
AnswerRe: create window groups Pin
David Crow29-Oct-09 3:04
David Crow29-Oct-09 3:04 
GeneralRe: create window groups Pin
shaosean29-Oct-09 3:09
shaosean29-Oct-09 3:09 
GeneralRe: create window groups Pin
David Crow29-Oct-09 3:13
David Crow29-Oct-09 3:13 

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.