Datatransfer multithreads

I would like to create a new thread with the MFC in Visual Studio, and transfer data of this created thread to my main projectprogram. I can create a new thread with AfxBeginThread(AFX_THREADPROC ThreadProc,....) and I can do something in the TreadProc(function) but to transfer data ????

How can I use the same data in more threads ?

Thanks a lot
Topic archived. No new replies allowed.