PC Review


Reply
Thread Tools Rate Thread

CF 1 / C# how to invoke with arguments?

 
 
James levertopf
Guest
Posts: n/a
 
      12th Sep 2009
Hello

Can anyone give me an example with CF 1 / C#, how I can invoke with
arguments?

I can do it in CF 2.0, but not in CF 1

Thanks

 
Reply With Quote
 
 
 
 
Chris Tacke, MVP
Guest
Posts: n/a
 
      14th Sep 2009
Invoke what? You mean call Control.Invoke? The only option is to pass an
EventArgs. It's all that is supported.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"James levertopf" <(E-Mail Removed)> wrote in message
news:u%23kjtT%(E-Mail Removed)...
> Hello
>
> Can anyone give me an example with CF 1 / C#, how I can invoke with
> arguments?
>
> I can do it in CF 2.0, but not in CF 1
>
> Thanks


 
Reply With Quote
 
Jamal
Guest
Posts: n/a
 
      26th Nov 2009
Chris Tacke is correct.
Invocation some method with parameters on another thread is not supported.
You can do only different workarrounds


"James levertopf" <(E-Mail Removed)> wrote in message
news:u%23kjtT%(E-Mail Removed)...
> Hello
>
> Can anyone give me an example with CF 1 / C#, how I can invoke with
> arguments?
>
> I can do it in CF 2.0, but not in CF 1
>
> Thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoke with arguments crashes application. Phillip Taylor Microsoft VB .NET 1 18th Jul 2007 12:02 PM
Invoke delegate with arguments =?Utf-8?B?T3Bh?= Microsoft Dot NET Compact Framework 2 13th Sep 2005 05:43 PM
ArgumentException in MethodInfo Invoke with non-native arguments Ffelagund Microsoft Dot NET Framework Forms 0 2nd Mar 2004 11:10 AM
ArgumentException in MethodInfo Invoke with non-native arguments Ffelagund Microsoft VC .NET 0 2nd Mar 2004 11:01 AM
ArgumentException in MethodInfo Invoke with non-native arguments Ffelagund Microsoft Dot NET Framework 0 1st Mar 2004 10:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:25 PM.