I have a long running series of operations in a .NET 2.0 BackgroundWorker
thread. When I make a call to unmanaged code located in a referenced assembly the UI is frozen until the call completes.
Why is this? Should I not be making these calls from the BackgroundWorker
thread?