Greetings -
I have several threads that take some time to run. They manage message transfer over IPC or tcpip sockets. There may be multiple exchanges between the thread and the remote application. I need a way to notify the host app that the thread has completed its task(s). It would be really nice if I could create an event when the thread closes or when it has data available or something like that. I’ve read over AddHandler and it does not appear to be the right tool for this task.
One, really klutzy way, might be to trigger a dedicated timer (not sure if this is a prohibited GUI access or not) that would then fire in some short time, raising its Action event. This, however, seems overly obtuse.
What do people do in such a situation?
Thanks
Jim Wagner
Oregon Research Electronics