Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to rerun a process when it was terminated? Pin
iceman861610-Sep-09 14:20
iceman861610-Sep-09 14:20 
GeneralRe: how to rerun a process when it was terminated? Pin
CPallini10-Sep-09 21:26
mveCPallini10-Sep-09 21:26 
Finding a process by name is a rather lenghty operation (you must go through EnumWindows [^]). Perhaps a better option would be storing the process handle (if application A starts application B via CreateProcess [^] then A may store the B process handle) and call GetExitCodeProcess [^] when needed.
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.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: how to rerun a process when it was terminated? Pin
Michael Schubert9-Sep-09 23:19
Michael Schubert9-Sep-09 23:19 
GeneralRe: how to rerun a process when it was terminated? Pin
iceman861610-Sep-09 14:16
iceman861610-Sep-09 14:16 
QuestionMake new folder as zip? Pin
Arrin9-Sep-09 21:27
Arrin9-Sep-09 21:27 
AnswerRe: Make new folder as zip? Pin
Nuri Ismail9-Sep-09 21:45
Nuri Ismail9-Sep-09 21:45 
GeneralRe: Make new folder as zip? Pin
Arrin9-Sep-09 23:53
Arrin9-Sep-09 23:53 
GeneralRe: Make new folder as zip? Pin
kilt10-Sep-09 6:26
kilt10-Sep-09 6:26 
QuestionSequence of calling of InitInstance and InitDialog in MFC Pin
Alex@9C9-Sep-09 20:24
Alex@9C9-Sep-09 20:24 
AnswerRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Iain Clarke, Warrior Programmer9-Sep-09 20:59
Iain Clarke, Warrior Programmer9-Sep-09 20:59 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
CPallini9-Sep-09 21:02
mveCPallini9-Sep-09 21:02 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Alex@9C9-Sep-09 22:03
Alex@9C9-Sep-09 22:03 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Alex@9C9-Sep-09 22:06
Alex@9C9-Sep-09 22:06 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Michael Schubert9-Sep-09 22:12
Michael Schubert9-Sep-09 22:12 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Michael Schubert9-Sep-09 22:05
Michael Schubert9-Sep-09 22:05 
AnswerRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
CPallini9-Sep-09 21:01
mveCPallini9-Sep-09 21:01 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Iain Clarke, Warrior Programmer9-Sep-09 21:24
Iain Clarke, Warrior Programmer9-Sep-09 21:24 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
CPallini9-Sep-09 21:33
mveCPallini9-Sep-09 21:33 
JokeRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
Iain Clarke, Warrior Programmer9-Sep-09 21:56
Iain Clarke, Warrior Programmer9-Sep-09 21:56 
GeneralRe: Sequence of calling of InitInstance and InitDialog in MFC Pin
CPallini9-Sep-09 22:20
mveCPallini9-Sep-09 22:20 
QuestionHow to Convert MDB to text file using vc++ [modified] Pin
jadhavjitendrar9-Sep-09 19:25
jadhavjitendrar9-Sep-09 19:25 
AnswerRe: How to Convert MDB to text file using vc++ Pin
_AnsHUMAN_ 9-Sep-09 20:22
_AnsHUMAN_ 9-Sep-09 20:22 
GeneralRe: How to Convert MDB to text file using vc++ Pin
jadhavjitendrar9-Sep-09 21:22
jadhavjitendrar9-Sep-09 21:22 
GeneralRe: How to Convert MDB to text file using vc++ Pin
Richard MacCutchan9-Sep-09 21:52
mveRichard MacCutchan9-Sep-09 21:52 
JokeRe: How to Convert MDB to text file using vc++ Pin
Michael Schubert9-Sep-09 22:00
Michael Schubert9-Sep-09 22:00 

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.