Quote Originally Posted by Gadget
I have a main exe that is creating a thread. I want to pass that thread a pointer to something, with the aim of the thread populating the object in the main exe. Is this possible? I mean, is a pointer valid within all memory space, or is the pointer specific to the memory space the exe uses?
Threads shares data memory. You can access your data structure with whatever thread you like, but you must sincronize the access to shared resources, using semaphore, mutex, critical section, event and other sincronization object.
You should read some tutorial or theory on thread and concurrency before implementing your code.