Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: URGENT ::: detecting language pack Pin
Cedric Moonen26-Mar-09 21:49
Cedric Moonen26-Mar-09 21:49 
General[Message Deleted] Pin
Purish Dwivedi26-Mar-09 22:38
Purish Dwivedi26-Mar-09 22:38 
GeneralRe: URGENT ::: detecting language pack Pin
CPallini26-Mar-09 22:45
mveCPallini26-Mar-09 22:45 
AnswerRe: URGENT ::: detecting language pack Pin
Michael Schubert26-Mar-09 23:45
Michael Schubert26-Mar-09 23:45 
Questionsocket programing in c++ Pin
hunnyyogi26-Mar-09 18:52
hunnyyogi26-Mar-09 18:52 
AnswerRe: socket programing in c++ Pin
_AnsHUMAN_ 26-Mar-09 19:26
_AnsHUMAN_ 26-Mar-09 19:26 
AnswerRe: socket programing in c++ Pin
CPallini26-Mar-09 21:37
mveCPallini26-Mar-09 21:37 
AnswerRe: socket programing in c++ Pin
David Crow27-Mar-09 3:21
David Crow27-Mar-09 3:21 
QuestionCode snippet for Copying a file from one location to another Pin
V K 226-Mar-09 17:42
V K 226-Mar-09 17:42 
AnswerRe: Code snippet for Copying a file from one location to another Pin
_AnsHUMAN_ 26-Mar-09 18:23
_AnsHUMAN_ 26-Mar-09 18:23 
QuestionThe use of the process handle? Pin
breezescut26-Mar-09 17:25
breezescut26-Mar-09 17:25 
AnswerRe: The use of the process handle? Pin
CPallini26-Mar-09 21:32
mveCPallini26-Mar-09 21:32 
Questiondebug model :CAsyncSocket class ,Dubug Assertion Failed! File:sockcore.cpp Line :408 Pin
vernchen26-Mar-09 17:12
vernchen26-Mar-09 17:12 
AnswerRe: debug model :CAsyncSocket class ,Dubug Assertion Failed! File:sockcore.cpp Line :408 Pin
CPallini26-Mar-09 22:08
mveCPallini26-Mar-09 22:08 
QuestionConforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
Sternocera26-Mar-09 12:08
Sternocera26-Mar-09 12:08 
AnswerRe: Conforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
Stuart Dootson26-Mar-09 12:58
professionalStuart Dootson26-Mar-09 12:58 
GeneralRe: Conforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
Sternocera26-Mar-09 13:12
Sternocera26-Mar-09 13:12 
GeneralRe: Conforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
Sternocera26-Mar-09 13:50
Sternocera26-Mar-09 13:50 
GeneralRe: Conforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
Stuart Dootson26-Mar-09 14:25
professionalStuart Dootson26-Mar-09 14:25 
GeneralRe: Conforming a bitmap image to a particular resolution without resizing artefacts, and storing it as a PNG image in a database Pin
CPallini26-Mar-09 22:49
mveCPallini26-Mar-09 22:49 
QuestionChanging icons for items in the list part of a Windows Explorer application [modified] Pin
Ben Aldhouse26-Mar-09 11:23
Ben Aldhouse26-Mar-09 11:23 
QuestionWindows scheduler question Pin
tom groezer26-Mar-09 11:17
tom groezer26-Mar-09 11:17 
AnswerRe: Windows scheduler question Pin
David Crow26-Mar-09 17:25
David Crow26-Mar-09 17:25 
QuestionMultiply Threads and Termination Pin
BobInNJ26-Mar-09 10:33
BobInNJ26-Mar-09 10:33 
I am currently writing a multi-threaded application using C++ and MFC. The application has one GUI thread and several additional worker threads that are CPU intensive. Often, when the worker threads are running and the user clicks on the right hand corner of the window (to close the application) the program crashes.

At the moment, I am not processing the messages WM_CLOSE, WM_QUIT or WM_DESTROY. To remedy this crash, I am thinking about catching the message WM_CLOSE and shutting down the worker threads. Does this make sense? Should I be processing WM_QUIT or WM_DESTROY?

Thanks

Bob
AnswerRe: Multiply Threads and Termination Pin
CPallini26-Mar-09 11:04
mveCPallini26-Mar-09 11: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.