zhqiyi / boghe

Automatically exported from code.google.com/p/boghe
0 stars 0 forks source link

Query regarding theerror #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear All,
I am getting the following error when compiling the Myboghe source code.

Error   1   The best overloaded method match for 
'System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherP
riority, System.Delegate, object)' has some invalid 
arguments   E:\myboghe\boghe\boghe-core\Services\Impl\XcapService.ResourceLists.cs
    85

Source code where i have error:-
//Update contacts/groups on the UI thread as CollectionView does not support 
changes from a thread different from the Dispatcher thread
            new Thread(new ThreadStart(delegate(){
                    this.manager.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, UpdateGroupsAndContactsDelegate(this.contactService.UpdateGroupsAndContacts),
                        new object[] { freshGroups, freshContacts });
                })).Start();

Please someone help me out here, i am new in C#.
Thanks in advance...

Original issue reported on code.google.com by tarunban...@gmail.com on 17 Dec 2010 at 10:55

GoogleCodeExporter commented 9 years ago
What is you visual studio version, Windows version, ...?
To build the client you need at least .NET Framework 3.5 or later.
Is it the case?

Original comment by boss...@yahoo.fr on 20 Dec 2010 at 8:06

GoogleCodeExporter commented 9 years ago
Issue 15 has been merged into this issue.

Original comment by boss...@yahoo.fr on 20 Dec 2010 at 8:07

GoogleCodeExporter commented 9 years ago
I am using Version 3.5 .net framework and visual studio 2008...but i have 2.0 
and old ones too on my system. I am trying hard but I am not able to find out 
the solution.

Please some one help me out here....

Thanks in advance....

Original comment by tarunban...@gmail.com on 20 Dec 2010 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 3 Jan 2011 at 5:53