Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp needed. Writing an apps launcher. Pin
cgb14322-Dec-05 9:57
cgb14322-Dec-05 9:57 
AnswerRe: Help needed. Writing an apps launcher. Pin
Blake Miller22-Dec-05 10:11
Blake Miller22-Dec-05 10:11 
GeneralRe: Help needed. Writing an apps launcher. Pin
cgb14322-Dec-05 11:14
cgb14322-Dec-05 11:14 
GeneralRe: Help needed. Writing an apps launcher. Pin
Blake Miller22-Dec-05 11:27
Blake Miller22-Dec-05 11:27 
GeneralRe: Help needed. Writing an apps launcher. Pin
cgb14322-Dec-05 11:54
cgb14322-Dec-05 11:54 
GeneralRe: Help needed. Writing an apps launcher. Pin
Blake Miller22-Dec-05 11:59
Blake Miller22-Dec-05 11:59 
GeneralRe: Help needed. Writing an apps launcher. Pin
cgb14322-Dec-05 12:20
cgb14322-Dec-05 12:20 
GeneralRe: Help needed. Writing an apps launcher. Pin
Blake Miller23-Dec-05 5:13
Blake Miller23-Dec-05 5:13 
Save the information from CreateProcess - the thread IF and process handle of each launched program.
A thread in your launcher app can WaitForMultipleObjects on each created process' handle, to later know when it has exited.
When I am trakcing multiple programs, I usually store information into a memory mapped file, and as each of the applications starts up, it sets information into the memory mapped file. If you also store the window handle or thread ID of your launcher app in the memory mapped file, then as each hosted program starts or stops, it can post a window or thread message to the launcher programs window or thread to notify the launcher of relevant activity.


No shirt, no shoes, no brains, no service.
AnswerRe: Help needed. Writing an apps launcher. Pin
Michael Dunn22-Dec-05 21:23
sitebuilderMichael Dunn22-Dec-05 21:23 
QuestionSDK , VC++ and tty Pin
McSam22-Dec-05 8:59
McSam22-Dec-05 8:59 
AnswerRe: SDK , VC++ and tty Pin
vikas amin22-Dec-05 18:44
vikas amin22-Dec-05 18:44 
GeneralRe: SDK , VC++ and tty Pin
McSam22-Dec-05 21:39
McSam22-Dec-05 21:39 
QuestionShellExecute--setting the path of the (.exe) file Pin
Klerik8222-Dec-05 7:59
Klerik8222-Dec-05 7:59 
AnswerRe: ShellExecute--setting the path of the (.exe) file Pin
David Crow22-Dec-05 8:16
David Crow22-Dec-05 8:16 
Questionwhy Function Name in DLL so strange ? Pin
jinzhecheng22-Dec-05 6:25
jinzhecheng22-Dec-05 6:25 
AnswerRe: why Function Name in DLL so strange ? Pin
David Crow22-Dec-05 6:45
David Crow22-Dec-05 6:45 
AnswerRe: why Function Name in DLL so strange ? Pin
toxcct22-Dec-05 6:58
toxcct22-Dec-05 6:58 
GeneralRe: why Function Name in DLL so strange ? Pin
vikas amin22-Dec-05 20:39
vikas amin22-Dec-05 20:39 
GeneralRe: why Function Name in DLL so strange ? Pin
Eytukan22-Dec-05 23:05
Eytukan22-Dec-05 23:05 
AnswerRe: why Function Name in DLL so strange ? Pin
Chris Losinger22-Dec-05 7:07
professionalChris Losinger22-Dec-05 7:07 
AnswerRe: why Function Name in DLL so strange ? Pin
jinzhecheng22-Dec-05 8:16
jinzhecheng22-Dec-05 8:16 
AnswerRe: why Function Name in DLL so strange ? Pin
Bob Stanneveld22-Dec-05 20:15
Bob Stanneveld22-Dec-05 20:15 
QuestionAll of my .exe's crash >( why? Pin
eos4life22-Dec-05 6:12
eos4life22-Dec-05 6:12 
AnswerRe: All of my .exe's crash >( why? Pin
Nish Nishant22-Dec-05 8:33
sitebuilderNish Nishant22-Dec-05 8:33 
GeneralRe: All of my .exe's crash >( why? Pin
PJ Arends22-Dec-05 8:57
professionalPJ Arends22-Dec-05 8:57 

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.