Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

want message loop in worker thread

$
0
0

I want a message loop in a worker thread to accomodate some 3rd-party software. The software raises events and, when run in the UI thread, blocks the UI for longer than it should.

Something like

Application app = new Application();

app.Run(new MyHiddenWindow(... args ...);

won't work. The msdn docs say 1 instance of the Application class per AppDomain. So I think I need another AppDomain in the process. Together with communication between the 2 AppDomains. Am I missing something simpler?


Bill Swartz


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>