I am sorry if I am asking an abstract question; but I have a multithreaded question
-
There was an excellent article that someone wrote on relation to updating GUI from a seperate thread. This article related to setting a property called RaiseExceptionOfSomeKind = false. Very simple yet very effecient. I am sad to report that I am blanking out compeltely on that article. If someone has the foggiest idea as to what am I talking about please post a link. This is what happens when you give up drinking..amnesia. Thanks
-
There was an excellent article that someone wrote on relation to updating GUI from a seperate thread. This article related to setting a property called RaiseExceptionOfSomeKind = false. Very simple yet very effecient. I am sad to report that I am blanking out compeltely on that article. If someone has the foggiest idea as to what am I talking about please post a link. This is what happens when you give up drinking..amnesia. Thanks
-
Found what I was looking for. It took a little while to do the right search. http://www.codeproject.com/KB/user-controls/AlternateMultithreadedGUI.aspx. The property I was looking for is CheckForIllegalThreadCalls = false. Back to drinking,
-
There was an excellent article that someone wrote on relation to updating GUI from a seperate thread. This article related to setting a property called RaiseExceptionOfSomeKind = false. Very simple yet very effecient. I am sad to report that I am blanking out compeltely on that article. If someone has the foggiest idea as to what am I talking about please post a link. This is what happens when you give up drinking..amnesia. Thanks
THRERE are two ways 1. the wrong way that microsoft allowed Set this property like:
CheckForIllegalCrossThreadCalls = false;
2. the right way : create a delegate to the function that updates the GUI and a handler and use the invoke Method to wake the method see here : http://msdn2.microsoft.com/en-us/library/zyzhdc6b.aspx[^]Have Fun Never forget it
-
THRERE are two ways 1. the wrong way that microsoft allowed Set this property like:
CheckForIllegalCrossThreadCalls = false;
2. the right way : create a delegate to the function that updates the GUI and a handler and use the invoke Method to wake the method see here : http://msdn2.microsoft.com/en-us/library/zyzhdc6b.aspx[^]Have Fun Never forget it
Thank half-life. I was aware of the second way as well. I was experimenting with a few things so I thoiught of this CheckForIllegalCrossThreadCalls = false; thing I read on codeproject a while ago.
-
Thank half-life. I was aware of the second way as well. I was experimenting with a few things so I thoiught of this CheckForIllegalCrossThreadCalls = false; thing I read on codeproject a while ago.