ThreadPool.QueueUserWorkItem new Form CreateHanle Deadlock
- by bogdanbrudiu
I have a thread that needs to create a popup Window.
I start the thread using ThreadPool.QueueUserWorkItem(new WaitCallback(CreatePopupinThread))
Thew thread creats a new form. The application freases in the new Form constructor at CreateHandle. The Worker Thread is locked...
How can I fix this?