lsberman
asked on
How do I PostMessage (PostThreadMessage?!?) from a worker thread to a TComponent descendent?
Hi! I want to create a custom component (derived from TComponent) that spawns a worker thread which uses PostMessage or PostThreadMessage to asynchronously report progress in a non-blocking manner back to the custom component. I can't use synchronization as I need the worker thread to run at speed.
I've read through dozens of "answers" on the subject on this board but all of the answers are incomplete or fragmentary. I'd appreciate a COMPLETE source-code example since there's obviously something subtle I'm missing. Thanks....
I've read through dozens of "answers" on the subject on this board but all of the answers are incomplete or fragmentary. I'd appreciate a COMPLETE source-code example since there's obviously something subtle I'm missing. Thanks....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you will get better responses if you ask specific questions on something that you don't know how to implement or is not working as you would expect, rather than asking for someone to create the whole thing for you
if you have some code post it here and we can go from there...