WPF Dispatcher.BeginInvoke crash on Windows XP

Posted by amr-ne on Stack Overflow See other posts from Stack Overflow or by amr-ne
Published on 2010-04-23T08:07:00Z Indexed on 2010/04/23 8:13 UTC
Read the original article Hit count: 365

Filed under:
|

Hi,

I have a WPF application and a worker thread. The worker thread invokes a callback on the UI thread, which opens a new dialog. Works fine on Win7, but on XP it will crash.

In worker thread:

someWpfDialogInstance.Dispatcher.BeginInvoke(openSomeDialogCallback, null);

Does someone knows a solution or a workaround for this problem?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wpf