Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What's function use for close process? Pin
Mark Salsbery22-Jan-07 7:13
Mark Salsbery22-Jan-07 7:13 
GeneralRe: What's function use for close process? Pin
Stephen Hewitt22-Jan-07 14:00
Stephen Hewitt22-Jan-07 14:00 
GeneralRe: What's function use for close process? Pin
Mark Salsbery22-Jan-07 14:06
Mark Salsbery22-Jan-07 14:06 
AnswerRe: What's function use for close process? Pin
CPallini22-Jan-07 7:49
mveCPallini22-Jan-07 7:49 
GeneralRe: What's function use for close process? Pin
toxcct22-Jan-07 8:15
toxcct22-Jan-07 8:15 
GeneralRe: What's function use for close process? Pin
CPallini22-Jan-07 8:22
mveCPallini22-Jan-07 8:22 
GeneralRe: What's function use for close process? Pin
toxcct22-Jan-07 8:26
toxcct22-Jan-07 8:26 
GeneralRe: What's function use for close process? Pin
CPallini22-Jan-07 9:08
mveCPallini22-Jan-07 9:08 
In fact there are a lot of ways. If you created the process then you can use GetExitCodeProcess (because you have the process handle).
On the other hand, if you haven't the process handle, you can use the window handle to discover if the window is already alive, if the application is hung, etc.. (for instance using SendMessageTimeout().
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: What's function use for close process? Pin
Stephen Hewitt22-Jan-07 11:26
Stephen Hewitt22-Jan-07 11:26 
GeneralRe: What's function use for close process? Pin
CPallini22-Jan-07 20:50
mveCPallini22-Jan-07 20:50 
GeneralRe: What's function use for close process? Pin
Stephen Hewitt22-Jan-07 11:25
Stephen Hewitt22-Jan-07 11:25 
AnswerRe: What's function use for close process? Pin
Stephen Hewitt22-Jan-07 12:47
Stephen Hewitt22-Jan-07 12:47 
AnswerRe: What's function use for close process? Pin
ThatsAlok22-Jan-07 18:59
ThatsAlok22-Jan-07 18:59 
Questioninitialization text on dialog box Pin
Shah Satish22-Jan-07 6:37
Shah Satish22-Jan-07 6:37 
AnswerRe: initialization text on dialog box Pin
toxcct22-Jan-07 7:09
toxcct22-Jan-07 7:09 
GeneralRe: initialization text on dialog box Pin
Shah Satish22-Jan-07 21:55
Shah Satish22-Jan-07 21:55 
AnswerRe: initialization text on dialog box Pin
Hamid_RT22-Jan-07 17:46
Hamid_RT22-Jan-07 17:46 
GeneralRe: initialization text on dialog box Pin
Shah Satish22-Jan-07 21:57
Shah Satish22-Jan-07 21:57 
AnswerRe: initialization text on dialog box Pin
ThatsAlok22-Jan-07 19:05
ThatsAlok22-Jan-07 19:05 
GeneralRe: initialization text on dialog box Pin
Shah Satish22-Jan-07 21:58
Shah Satish22-Jan-07 21:58 
QuestionPassing an array of structs from c# to unmanaged c++ dll Pin
Marek Konieczny22-Jan-07 6:29
Marek Konieczny22-Jan-07 6:29 
AnswerRe: Passing an array of structs from c# to unmanaged c++ dll Pin
James R. Twine22-Jan-07 8:13
James R. Twine22-Jan-07 8:13 
AnswerRe: Passing an array of structs from c# to unmanaged c++ dll Pin
Tim Paaschen22-Jan-07 20:26
Tim Paaschen22-Jan-07 20:26 
QuestionDialog activex Pin
Tarek Jabri22-Jan-07 6:28
Tarek Jabri22-Jan-07 6:28 
QuestionHow do I programmatically uncheck the "Taskbar always on top" option? Pin
dandy7222-Jan-07 6:04
dandy7222-Jan-07 6:04 

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.