M
Max
Hi!
In <[email protected]> Jon Skeet [C#
MVP] said that he _believes_ that for UI calls the WinForms team has
_basically_ guaranteed that EndInvoke is not required after
BeginInvoke.
In my applications I only want to update some controls from other
threads most of the time and absolutly don't care about the result
(actually there is no result when I only want textBox.Text = "text").
Currently I put all IAsyncResults from the BeginInvoke call into an
ArrayList and use another thread to poll the IAsyncResults in this
array for .IsCompleted. If a call is completed I call EndInvoke on it
and remove it from the ArrayList. That sucks quite a bit (after all
it's _just_ for updating text or whatever on some controls!) but in
the end it might save my....
Is there something official from Microsoft that really guarantees me
that I do not have to call EndInvoke on UI calls?
thanks,
Max
In <[email protected]> Jon Skeet [C#
MVP] said that he _believes_ that for UI calls the WinForms team has
_basically_ guaranteed that EndInvoke is not required after
BeginInvoke.
In my applications I only want to update some controls from other
threads most of the time and absolutly don't care about the result
(actually there is no result when I only want textBox.Text = "text").
Currently I put all IAsyncResults from the BeginInvoke call into an
ArrayList and use another thread to poll the IAsyncResults in this
array for .IsCompleted. If a call is completed I call EndInvoke on it
and remove it from the ArrayList. That sucks quite a bit (after all
it's _just_ for updating text or whatever on some controls!) but in
the end it might save my....
Is there something official from Microsoft that really guarantees me
that I do not have to call EndInvoke on UI calls?
thanks,
Max