Click here to Skip to main content
16,016,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying a bitmap? Pin
Brian Shifrin3-Mar-03 12:07
Brian Shifrin3-Mar-03 12:07 
GeneralRe: Displaying a bitmap? Pin
Paddy3-Mar-03 13:18
Paddy3-Mar-03 13:18 
GeneralRe: Displaying a bitmap? Pin
MAAK3-Mar-03 22:22
MAAK3-Mar-03 22:22 
GeneralRe: Displaying a bitmap? Pin
Paddy4-Mar-03 2:37
Paddy4-Mar-03 2:37 
QuestionActiveX controls list? Pin
Brent Lamborn3-Mar-03 10:04
Brent Lamborn3-Mar-03 10:04 
AnswerRe: ActiveX controls list? Pin
Brian Shifrin3-Mar-03 13:11
Brian Shifrin3-Mar-03 13:11 
GeneralMulti-threading question Pin
#realJSOP3-Mar-03 9:49
professional#realJSOP3-Mar-03 9:49 
GeneralRe: Multi-threading question Pin
Alvaro Mendez3-Mar-03 10:33
Alvaro Mendez3-Mar-03 10:33 
John Simmons / outlaw programmer wrote:
Does it appear to anyone here as if the threads could be banging on each other at the point the dialog box tries to handle the messages being passed?

Since you're using PostMessage to communicate with the dialog box, the messages are processed serially. In other words, the threads may be posting messages simultaneously, but they're each processed one at a time by the dialog's message queue. You can verify this by putting TRACE messages at the beginning and end of OnLauncherMsg.


John Simmons / outlaw programmer wrote:
The app does not appear to hang, but for some reason, it thinks an error happened with the app I'm running through ::CreateProcess (specifically, the external app does not appear to ever enter it's Idle Input Loop), and it stops processing that thread. It handles the error gracefully 9reporting the status in the parent dialog's list control, but this also has the effect of shutting down the thread.

That sounds strange. Why does it terminate the thread? Is an exception being thrown somewhere?

Regards,
Alvaro


There are no stupid questions, but there are a lot of inquisitive idiots. -- despair.com
GeneralRe: Multi-threading question Pin
#realJSOP3-Mar-03 11:20
professional#realJSOP3-Mar-03 11:20 
GeneralRe: Multi-threading question Pin
Michael Dunn3-Mar-03 10:46
sitebuilderMichael Dunn3-Mar-03 10:46 
GeneralRe: Multi-threading question Pin
#realJSOP3-Mar-03 11:34
professional#realJSOP3-Mar-03 11:34 
GeneralRe: Multi-threading question Pin
KarstenK3-Mar-03 21:56
mveKarstenK3-Mar-03 21:56 
GeneralRe: Multi-threading question Pin
Scott H. Settlemier4-Mar-03 14:22
Scott H. Settlemier4-Mar-03 14:22 
GeneralTitleTip Class Pin
djtommye3-Mar-03 9:27
djtommye3-Mar-03 9:27 
General"#if defined" problem ... Pin
Daniel Strigl3-Mar-03 9:18
Daniel Strigl3-Mar-03 9:18 
GeneralRe: "#if defined" problem ... Pin
PJ Arends3-Mar-03 9:29
professionalPJ Arends3-Mar-03 9:29 
GeneralRe: "#if defined" problem ... Pin
Daniel Strigl3-Mar-03 10:02
Daniel Strigl3-Mar-03 10:02 
GeneralRe: "#if defined" problem ... Pin
PJ Arends3-Mar-03 10:43
professionalPJ Arends3-Mar-03 10:43 
GeneralON_CONTROL_RANGE and BN_PUSHED Pin
Scott H. Settlemier3-Mar-03 9:04
Scott H. Settlemier3-Mar-03 9:04 
GeneralRe: ON_CONTROL_RANGE and BN_PUSHED Pin
Scott H. Settlemier3-Mar-03 9:17
Scott H. Settlemier3-Mar-03 9:17 
Generallauncher :) Pin
MemLeak3-Mar-03 8:59
MemLeak3-Mar-03 8:59 
GeneralRe: launcher :) Pin
Chris Losinger3-Mar-03 9:09
professionalChris Losinger3-Mar-03 9:09 
GeneralRe: launcher :) Pin
MemLeak4-Mar-03 4:58
MemLeak4-Mar-03 4:58 
QuestionHow do I check the contents of the 'recv' function in window sockets Pin
IrishSonic3-Mar-03 8:45
IrishSonic3-Mar-03 8:45 
AnswerRe: How do I check the contents of the 'recv' function in window sockets Pin
valikac3-Mar-03 8:51
valikac3-Mar-03 8:51 

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.