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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10081467.htm...
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10130126.htm...
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10308201.htm...
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
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20412690.html
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 ...
http://www.experts-exchange.com/Programming/Languages/C/Q_20737794.html
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_21282970.htm...
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...
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21424608.html
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 ...
http://www.experts-exchange.com/Programming/Misc/Q_21469512.html
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10174037.htm...
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10314032.htm...
Zones:
Windows MFCDate Answered: 03/21/2000 Grade: B Views: 0