Advertisement

1 - 10 of 31 containing alltags:("postthreadmessage") (0 seconds)
How to communicate between threads? eg., In PostThreadMessage, I don't know how to get the thread ID. Also, in Post/SendMessage, the destination window need to be specified. But in PoseThreadMessag...
Zones: Windows MFCDate Answered: 09/16/1998 Grade: A Views: 0
I need a SOLID answer to a question.  Answers like "Well, I think it's such and such" or "why don't you try so and so" are a waste of my time. If need be I may upgrade the points to this or if it s...
Zones: Windows MFCDate Answered: 02/22/1999 Grade: B Views: 0
Hi, Im writing a multithreaded app and Im using postthreadmessage to pass some pointers (in the LONG lparam) between CWinThread derived classes. In a main thread I have a switch-case statement w...
Zones: Windows MFCDate Answered: 03/10/2000 Grade: C Views: 0
Hi, I'm using PostThreadMessage within my application; I was wondering if there is a way to force the thread message that I send to the top of queue?? Regards
Zones: Delphi ProgrammingDate Answered: 02/10/2003 Grade: B Views: 0
Hello all, Finally I got my IPC logic to work... The way i'm doing it is: 1. getting remote process id from CreateToolhelp32Snapshot 2. getting all threads associated with remote process using ...
Zones: CDate Answered: 09/16/2003 Grade: A Views: 0
ok..this is how i call postthreadmessage from a normal class... but when i want to call it from a thread , there is an application error and the whole program crashes... could ssomeone teach me how...
Zones: Windows MFCDate Answered: 04/17/2005 Grade: C Views: 0
i have some code, then somewhere in the middle, i call postThreadMessage to run something in a thread. i can't really put the code inline... so how can i want for postThreadMessage to finish befor...
Zones: Delphi ProgrammingDate Answered: 05/19/2005 Grade: A Views: 0
I have a Dialog class (base class CDlg) and also a thread class (base class CWinThred). I setup the thread and then call ResumeThread, this works fine. The thread then calls PostMessage and ...
Zones: ProgrammingDate Answered: 08/05/2005 Grade: A Views: 17
I have a CWinthread derived class which embedds a modeless CDialog object and m_pMainWnd=&CDialog object.  This CDialog object has an activeX control(MSCOMM the only control). Why is it that when I...
Zones: Windows MFCDate Answered: 06/23/1999 Grade: A Views: 0
I need to call a notification function from worker thread, in such a maner that it will run from the main thread. I figured that PostThreadMessage would be the best way. For some reason, PostThread...
Zones: Windows MFCDate Answered: 03/21/2000 Grade: B Views: 0