Originally Posted by
Hunter2
>>There was only the ability to pass the thread a parameter of type LPVOID, which really does nothing for me.
You can use the LPVOID to pass a pointer to a structure which you share between the main thread and worker thread. The worker thread can write to variables in the shared struct, while the main thread reads from it. You'll need thread synchronization to prevent bad things from happening; for example, pass an Event in the structure, so that the thread can signal the main program when it's finished processing a certain segment of data, and the main program can then read the result from another member of the structure.
Et cetera.