Hello everyone,
I am stuck since few days on a bug in my app, and I require help.
Main thread contains time consuming operation. To be more friendly with user, I created a static class Info, which contains to methods ShowInfo and StopInfo. ShowInfo basically start a backgroundWorker. backgroundWorker operation is : Create a form showform and loop until a boolean set by StopInfo is equal true; then closes form.
It works perfectly. Alas I noticed that when I am out of visual studio 2005 environment and I start application, if I lock computer, or change screen resolution, application 'hangs'.... In fact it doesn't hang :refresh process seems to loop, process is not in a non-responding state. I can't move window, can't close it. If in backgroundworker I comment line which shows form, application works fine. If I run app from visual studio, I have no problem.
Any help will be greatly appreciated !