Does the managed main UI thread stay on the same (unmanaged) Operation System thread?
- by Daniel Rose
I am creating a managed WPF UI front-end to a legacy Win32-application. The WPF front-end is the executable; as part of its startup routines I start the legacy app as a DLL in a second thread. Any UI-operation (including CreateWindowsEx, etc.) by the legacy app is invoked back on the main UI-thread.
As part of the shutdown process of the app I…