[Mono-list] Very Strange Error Message: Failed to register the IMContext

Jacek Rużyczka stacheldraht at interia.pl
Wed Jun 9 14:47:28 EDT 2010


Am Dienstag 08 Juni 2010 22:21:06 schrieb Robert Jordan:
> Remoting is always calling your methods from another thread.
> Are you arranging for this? You can't call UI methods directly
> in this case.
> 
Yes, you're right. After several hours in the maze I found out that the event 
handler, which triggered the crash instead of building up the dialog, was 
fired by an object on the remote server. This was wath I actually intended, 
but this object ran in another thread. So I used Gtk.Application.Invoke() to 
work myself around the issue, and it worked! :)

Regards
Jacek Rużyczka

----------------------------------------------------------------------
Kup wlasne mieszkanie za 72 tys. zl.
Sprawdz najlepsze oferty >>> http://linkint.pl/f2723



More information about the Mono-list mailing list