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

C / C++ / MFC

 
AnswerRe: To Shell a program Pin
_AnsHUMAN_ 28-Aug-06 2:55
_AnsHUMAN_ 28-Aug-06 2:55 
AnswerRe: To Shell a program Pin
User 21559728-Aug-06 3:42
User 21559728-Aug-06 3:42 
AnswerRe: To Shell a program Pin
David Crow28-Aug-06 3:52
David Crow28-Aug-06 3:52 
QuestionAn multithread question. Pin
cwyang28-Aug-06 2:19
cwyang28-Aug-06 2:19 
AnswerRe: An multithread question. Pin
_AnsHUMAN_ 28-Aug-06 2:59
_AnsHUMAN_ 28-Aug-06 2:59 
AnswerRe: An multithread question. Pin
Zac Howland28-Aug-06 4:24
Zac Howland28-Aug-06 4:24 
GeneralRe: An multithread question. Pin
cwyang28-Aug-06 4:32
cwyang28-Aug-06 4:32 
GeneralRe: An multithread question. Pin
Zac Howland28-Aug-06 4:38
Zac Howland28-Aug-06 4:38 
cwyang wrote:
I want the Go() function could do the "PeekMessage"
for the main window.


This is a VERY bad practice. You do NOT want to keep making message loops in your main thread. It makes your code overly complicated, impossible to maintain, and royal pain to debug. If you have a section of code that will be doing enough processing to block your UI thread (aka, your main thread), you do want to us a worker thread.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionOpen Office SDK [modified] Pin
Kamen28-Aug-06 1:07
Kamen28-Aug-06 1:07 
AnswerRe: Open Office SDK Pin
Dave Calkins28-Aug-06 7:59
Dave Calkins28-Aug-06 7:59 
QuestionDifferece between static library and shared DLL [modified] Pin
Anu_Bala28-Aug-06 0:10
Anu_Bala28-Aug-06 0:10 
AnswerRe: Differece between static library and shared DLL Pin
Emilio Garavaglia28-Aug-06 1:36
Emilio Garavaglia28-Aug-06 1:36 
AnswerRe: Differece between static library and shared DLL Pin
Hamid_RT28-Aug-06 7:55
Hamid_RT28-Aug-06 7:55 
QuestionSyncronization question Pin
Kiran Pinjala27-Aug-06 23:59
Kiran Pinjala27-Aug-06 23:59 
AnswerRe: Syncronization question Pin
kakan28-Aug-06 0:51
professionalkakan28-Aug-06 0:51 
QuestionHow to prevent drag and drop Pin
huynhnb27-Aug-06 23:22
huynhnb27-Aug-06 23:22 
QuestionSearching in SDK Pin
shadrach_india27-Aug-06 23:13
shadrach_india27-Aug-06 23:13 
AnswerRe: Searching in SDK Pin
Prakash Nadar27-Aug-06 23:22
Prakash Nadar27-Aug-06 23:22 
GeneralRe: Searching in SDK Pin
ThatsAlok28-Aug-06 0:50
ThatsAlok28-Aug-06 0:50 
AnswerRe: Searching in SDK Pin
toxcct27-Aug-06 23:25
toxcct27-Aug-06 23:25 
GeneralRe: Searching in SDK Pin
shadrach_india27-Aug-06 23:33
shadrach_india27-Aug-06 23:33 
GeneralRe: Searching in SDK Pin
toxcct27-Aug-06 23:39
toxcct27-Aug-06 23:39 
GeneralRe: Searching in SDK [modified] Pin
shadrach_india27-Aug-06 23:44
shadrach_india27-Aug-06 23:44 
GeneralRe: Searching in SDK [modified] Pin
toxcct27-Aug-06 23:46
toxcct27-Aug-06 23:46 
GeneralRe: Searching in SDK Pin
shadrach_india28-Aug-06 0:12
shadrach_india28-Aug-06 0:12 

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.