The invoke method not work in the windows forms application and the form freezes when the windows was locked. RRS feed

  • Question

  • In my windows forms application, the UI thread created a new thread to process the data. when the data thread processed some data and return the message to the UI used "Control.Invoke" method. It is work normally. But when the application was running and the windows was locked and then uplocked, the forms application is freezes. I debugged and found that the application wait for ever at Invoke method when the windows was locked.
    How can I resolve this problem? Thank you.
    Thursday, July 2, 2009 8:19 AM