I am working on a multithreaded app that is not working exactly as it needs to.
I am using delegate subs in order to do async callbacks from a collection of classes. This works fine except for one small detail. When the event is raised within the callback class, it propogates to the parent application, and is still executing on the child thread, not the application's main thread. The problem with this is that I need the main thread to do the actual work.
Is there a way to "hand off" the callback to the main thread like I expected it too?
Thanks in advance..
Andrew
I am using delegate subs in order to do async callbacks from a collection of classes. This works fine except for one small detail. When the event is raised within the callback class, it propogates to the parent application, and is still executing on the child thread, not the application's main thread. The problem with this is that I need the main thread to do the actual work.
Is there a way to "hand off" the callback to the main thread like I expected it too?
Thanks in advance..
Andrew