Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to handle drag-n-drop zipped content? Pin
Hiusing10-Aug-02 6:24
Hiusing10-Aug-02 6:24 
GeneralMemory Management Pin
Stew10-Aug-02 6:21
Stew10-Aug-02 6:21 
GeneralRe: Memory Management Pin
Maximilien10-Aug-02 6:30
Maximilien10-Aug-02 6:30 
GeneralRe: Memory Management Pin
Todd Smith11-Aug-02 8:15
Todd Smith11-Aug-02 8:15 
GeneralThreads Pin
AJ12310-Aug-02 6:00
AJ12310-Aug-02 6:00 
GeneralRe: Threads Pin
Paul M Watt10-Aug-02 6:19
mentorPaul M Watt10-Aug-02 6:19 
GeneralRe: Threads Pin
AJ12310-Aug-02 6:29
AJ12310-Aug-02 6:29 
GeneralRe: Threads Pin
Daniel Lohmann11-Aug-02 6:52
Daniel Lohmann11-Aug-02 6:52 
Obviously it is best to post messages from the worker thread to the UI thread instead of sending them. If the UI thread is blocked by something, the worker thread can continue its Job and you don't get deadlocks.

In multithreading it is always a good idea to make as few synchronsiation points in your programm execution as possible. Asynchronous message passing using PostMessage() is a good mechanism to achieve this.

--

Daniel Lohmann

http://www.losoft.de
(Hey, this page is worth looking! You can find some free and handy NT tools there Big Grin | :-D )
GeneralRe: Threads Pin
Wes Jones12-Aug-02 14:34
Wes Jones12-Aug-02 14:34 
QuestionWhere do I get started? Pin
Sherry10-Aug-02 5:58
Sherry10-Aug-02 5:58 
AnswerRe: Where do I get started? Pin
Paul M Watt10-Aug-02 6:26
mentorPaul M Watt10-Aug-02 6:26 
GeneralA _CommandPtr easy question Pin
nss10-Aug-02 5:03
nss10-Aug-02 5:03 
QuestionPostMessage or SendMessage from thread? Pin
Gilfrog10-Aug-02 5:02
Gilfrog10-Aug-02 5:02 
AnswerRe: PostMessage or SendMessage from thread? Pin
Ravi Bhavnani10-Aug-02 5:02
professionalRavi Bhavnani10-Aug-02 5:02 
GeneralRe: PostMessage or SendMessage from thread? Pin
Gilfrog10-Aug-02 5:12
Gilfrog10-Aug-02 5:12 
GeneralRe: PostMessage or SendMessage from thread? Pin
Michael Dunn10-Aug-02 5:16
sitebuilderMichael Dunn10-Aug-02 5:16 
GeneralRe: PostMessage or SendMessage from thread? Pin
Gilfrog10-Aug-02 5:24
Gilfrog10-Aug-02 5:24 
GeneralRe: PostMessage or SendMessage from thread? Pin
Michael Dunn10-Aug-02 6:02
sitebuilderMichael Dunn10-Aug-02 6:02 
AnswerRe: PostMessage or SendMessage from thread? Pin
valikac10-Aug-02 9:17
valikac10-Aug-02 9:17 
GeneralWinMain hidden powers Pin
Georg Haan10-Aug-02 4:24
Georg Haan10-Aug-02 4:24 
GeneralRe: WinMain hidden powers Pin
Michael Dunn10-Aug-02 5:18
sitebuilderMichael Dunn10-Aug-02 5:18 
GeneralCallback Pin
CaesarCZ10-Aug-02 3:59
CaesarCZ10-Aug-02 3:59 
GeneralSimple Text encryption Pin
James Spibey10-Aug-02 3:01
James Spibey10-Aug-02 3:01 
GeneralRe: Simple Text encryption Pin
Chris Maunder10-Aug-02 3:16
cofounderChris Maunder10-Aug-02 3:16 
GeneralRe: Simple Text encryption Pin
James Spibey10-Aug-02 6:26
James Spibey10-Aug-02 6:26 

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.