[Mono-devel-list] Re: Threading model

Paul F. Johnson paul at all-the-johnsons.co.uk
Fri Aug 5 08:46:49 EDT 2005


Hi,

> >   public void synchTest()
> >   {
> >     del();
> >     if (count1 != count2)
> >       lbl.Text = "Unsynched";
> >   }
> > }
> 
> Your code access the UI from another thread.
> This is unsuported with SWF (on MSFT's runtime, too).
> You must use Control.Invoke if you want to update the UI from
> another thread, otherwise strange things will happen.

How do I use Control.Invoke within my code and I'm not sure this
explains the r00t access the code gave me.

TTFN

Paul
-- 
"Some people will do anything for a woman in uniform" - The Doctor -
Unregenerate (Big Finish audio)




More information about the Mono-devel-list mailing list