I'd like to know how to pass the local object address of a TStrings object (allocated on the heap, IIRC) from the calling function to a thread I create with CreateThread(). The thread has an infinite wait, so the object should still be available at the caller level, waiting to be filled with information.
I'd like to keep this Win32 related and not use the VCL TThread class for such stuff.
Does anyone have an example of how to do this? IsMutliThread is already set to True before the CreateThread() API call. I just would like to utilize passing the address of the TStrings variable directly to the worker thread.