Use of delegates not solving the cross thread problems in .NET 2.0 Framework
Windows Forms
1
Posts
1
Posters
5
Views
1
Watching
-
Hi All, I have a windows application that was developed in .NET 1.1 Framework. Recently I migrated the same application into .NET 2.0 Framework to find a number of cross thread operation exceptions being thrown. After some research, I found that Anonymous methods and delegates could solve the issue. Hence, I implemented the same and the application was working fine except a case when the call to the delegate using 'Invoke' causes the application to hang. Use of 'BeginInvoke' instead of 'Invoke' also didnt help me. Anyone faced a similar situation and found a solution? Plz help.
Thanks in advance, Murali