Exchanging Data Between Threads
Hi,
I am new to this topic so please excuse any glaring mistakes.
I have a COM Object which is recieving requests from a client. I am using events created in a worker thread to notify the worker thread when to do some of these requests. The result of the request is passed back to the client through a connection point container interface on my COM Object. There is one flaw with this above strategy, how do I pass the data I recieved from the client (in the interface's functions arguements) to the worker thread?
That is how do I do data exchange between two threads?
Any help would be greatly appreciated.
Thanks.
Needaname16