Click here to Skip to main content
15,921,295 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Replacing file types combo in CFileDialog Pin
18-Jun-01 6:39
suss18-Jun-01 6:39 
GeneralRe: Replacing file types combo in CFileDialog Pin
20-Jun-01 9:21
suss20-Jun-01 9:21 
QuestionMultimedia in MFC?? Pin
Rickard Andersson2012-Jun-01 6:24
Rickard Andersson2012-Jun-01 6:24 
AnswerRe: Multimedia in MFC?? Pin
RobJones12-Jun-01 7:16
RobJones12-Jun-01 7:16 
AnswerRe: Multimedia in MFC?? Pin
RobJones12-Jun-01 7:18
RobJones12-Jun-01 7:18 
GeneralRunning Programs & Waiting For Them To Finish Pin
Jason Teagle12-Jun-01 4:35
Jason Teagle12-Jun-01 4:35 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Tomasz Sowinski12-Jun-01 4:44
Tomasz Sowinski12-Jun-01 4:44 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Jason Teagle12-Jun-01 5:37
Jason Teagle12-Jun-01 5:37 
ShellExecuteEx() certainly gave me the process handle - excellent. The problem I am left with now is that this program that I run needs to talk to my app using user-defined messages (through SendMessage() ). If I call WaitForSingleObject(), the second app is stuck. I tried using MsgWaitForMultipleObjects() with the process handle (which now waits as expected) and the final parameter of 0 - but the second app got stuck again. I tried QS_INPUT as the final parameter, which I believe means that my app (the one waiting) should still process any incoming messages as normal while it is waiting for the second app... but it still blocks.

My only theory is that I have to call MsgWait...() from the actual window which will process those messages (it is currently being called from a window embedded in the main window, and not a direct descendant).

Anyone know why I can't get my app to still process messages while waiting for that other app to exit?
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Tomasz Sowinski12-Jun-01 5:53
Tomasz Sowinski12-Jun-01 5:53 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Jason Teagle12-Jun-01 5:58
Jason Teagle12-Jun-01 5:58 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Tomasz Sowinski12-Jun-01 6:11
Tomasz Sowinski12-Jun-01 6:11 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Stephen Kellett13-Jun-01 0:01
Stephen Kellett13-Jun-01 0:01 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Jason Teagle13-Jun-01 0:17
Jason Teagle13-Jun-01 0:17 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
#realJSOP13-Jun-01 1:03
professional#realJSOP13-Jun-01 1:03 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Carlos Antollini12-Jun-01 4:55
Carlos Antollini12-Jun-01 4:55 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Jason Teagle12-Jun-01 5:41
Jason Teagle12-Jun-01 5:41 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Tomasz Sowinski12-Jun-01 5:02
Tomasz Sowinski12-Jun-01 5:02 
GeneralRe: Running Programs & Waiting For Them To Finish Pin
Jason Teagle12-Jun-01 5:43
Jason Teagle12-Jun-01 5:43 
Generalinternet address shortcut Pin
12-Jun-01 4:19
suss12-Jun-01 4:19 
GeneralRe: internet address shortcut Pin
Jason Teagle12-Jun-01 4:37
Jason Teagle12-Jun-01 4:37 
GeneralRe: internet address shortcut Pin
Carlos Antollini12-Jun-01 9:12
Carlos Antollini12-Jun-01 9:12 
GeneralRe: internet address shortcut Pin
12-Jun-01 19:55
suss12-Jun-01 19:55 
Generaletc. information Pin
12-Jun-01 3:59
suss12-Jun-01 3:59 
GeneralRe: etc. information Pin
Christian Graus12-Jun-01 11:57
protectorChristian Graus12-Jun-01 11:57 
GeneralITOA Pin
12-Jun-01 3:33
suss12-Jun-01 3:33 

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.