Hi,
Ive got a multithreaded app, which uses bgWorker.RunWorkerAsync() to run
the 2nd, 3rd, ..., nth threads.
I keep getting exceptions thrown by various parts of the
bgWorker.ProgressChanged event. These errors are probably just because
I've done something silly, but thats not what I'm asking for help with...
When these exceptions occur, why do i get a TargetInvokationException
thrown around Application.Run(new frmMain()); in program.cs?
I can view the innerexception to get some details but its a bit of a pain.
What can i do to make the exception in innerexception be thrown at the
actual location where the error occurs?
I'm not using any try catches.
If you need any more code to help troubleshoot this just say :)
Hope someone can help,
Thanks
Andrew