Click here to Skip to main content
15,850,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 13:53
mvePIEBALDconsult24-Feb-09 13:53 
GeneralRe: C# alias Pin
Jon Rista24-Feb-09 18:06
Jon Rista24-Feb-09 18:06 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 18:13
mvePIEBALDconsult24-Feb-09 18:13 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 19:35
mvePIEBALDconsult24-Feb-09 19:35 
GeneralRe: C# alias Pin
Bill Stumps25-Feb-09 21:42
Bill Stumps25-Feb-09 21:42 
AnswerRe: C# alias Pin
PIEBALDconsult24-Feb-09 11:35
mvePIEBALDconsult24-Feb-09 11:35 
QuestionInvoke and InvokeRequired in dll Pin
Member 471395924-Feb-09 10:40
Member 471395924-Feb-09 10:40 
AnswerRe: Invoke and InvokeRequired in dll Pin
harold aptroot24-Feb-09 10:57
harold aptroot24-Feb-09 10:57 
No offense, but your code looks.. strange
It looks like you're trying to re-fire the event on the UI thread if "required".
You could just invoke "whatever is in the else clause" but that boils down to the same thing.

Except that Invoke doesn't exist, apparently. Does intellisense show Invoke and/or InvokeRequired? Is this code inside a form? (if not, why are you using it?)

If you're trying to re-fire the event on "a thread other than the UI thread" you could give it a queue of delegates that it periodically checks (and calls them if there are any), I know of no other way to "inject" a call into a thread nicely but if there is someone else will post here Smile | :)



AnswerRe: Invoke and InvokeRequired in dll Pin
Alan N24-Feb-09 15:22
Alan N24-Feb-09 15:22 
QuestionActivation Code Pin
sitnet24-Feb-09 9:44
sitnet24-Feb-09 9:44 
AnswerRe: Activation Code Pin
Thomas Stockwell24-Feb-09 9:47
professionalThomas Stockwell24-Feb-09 9:47 
AnswerRe: Activation Code Pin
Christian Graus24-Feb-09 10:52
protectorChristian Graus24-Feb-09 10:52 
Question[Message Deleted] Pin
ioctl5124-Feb-09 9:08
ioctl5124-Feb-09 9:08 
AnswerRe: What is the standard way to poll a thread for completion? Pin
PIEBALDconsult24-Feb-09 9:41
mvePIEBALDconsult24-Feb-09 9:41 
GeneralRe: What is the standard way to poll a thread for completion? Pin
Pete O'Hanlon24-Feb-09 10:27
subeditorPete O'Hanlon24-Feb-09 10:27 
GeneralRe: What is the standard way to poll a thread for completion? Pin
PIEBALDconsult24-Feb-09 11:25
mvePIEBALDconsult24-Feb-09 11:25 
QuestionMost efficient switch statement variable to use? Pin
Bruce Coward24-Feb-09 7:34
Bruce Coward24-Feb-09 7:34 
AnswerRe: Most efficient switch statement variable to use? Pin
PIEBALDconsult24-Feb-09 7:49
mvePIEBALDconsult24-Feb-09 7:49 
AnswerRe: Most efficient switch statement variable to use? Pin
Luc Pattyn24-Feb-09 8:17
sitebuilderLuc Pattyn24-Feb-09 8:17 
GeneralRe: Most efficient switch statement variable to use? Pin
PIEBALDconsult24-Feb-09 9:43
mvePIEBALDconsult24-Feb-09 9:43 
GeneralRe: Most efficient switch statement variable to use? Pin
DaveyM6924-Feb-09 9:49
professionalDaveyM6924-Feb-09 9:49 
GeneralRe: Most efficient switch statement variable to use? Pin
PIEBALDconsult24-Feb-09 11:40
mvePIEBALDconsult24-Feb-09 11:40 
GeneralRe: Most efficient switch statement variable to use? Pin
harold aptroot24-Feb-09 12:53
harold aptroot24-Feb-09 12:53 
AnswerRe: Most efficient switch statement variable to use? Pin
Luc Pattyn24-Feb-09 15:23
sitebuilderLuc Pattyn24-Feb-09 15:23 
GeneralRe: Most efficient switch statement variable to use? Pin
Deresen24-Feb-09 11:08
Deresen24-Feb-09 11:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.