Click here to Skip to main content
15,909,645 members
Home / Discussions / C#
   

C#

 
AnswerRe: Please Help Me C# Pin
Paul Conrad15-Oct-08 6:47
professionalPaul Conrad15-Oct-08 6:47 
QuestionC# Help Pin
boiDev15-Oct-08 4:46
boiDev15-Oct-08 4:46 
AnswerRe: C# Help Pin
Lea Hayes15-Oct-08 11:31
Lea Hayes15-Oct-08 11:31 
QuestionDelegates are trying to make me look stupid Pin
Rob Philpott15-Oct-08 4:17
Rob Philpott15-Oct-08 4:17 
AnswerRe: Delegates are trying to make me look stupid Pin
Ennis Ray Lynch, Jr.15-Oct-08 5:35
Ennis Ray Lynch, Jr.15-Oct-08 5:35 
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott15-Oct-08 5:37
Rob Philpott15-Oct-08 5:37 
GeneralRe: Delegates are trying to make me look stupid Pin
Ennis Ray Lynch, Jr.15-Oct-08 6:14
Ennis Ray Lynch, Jr.15-Oct-08 6:14 
AnswerRe: Delegates are trying to make me look stupid Pin
Le centriste15-Oct-08 6:25
Le centriste15-Oct-08 6:25 
I tried your code and it effectively seems that Invoke and BeginInvoke behave differently. Invoke seems to take the address of the base's method, while BeginInvoke seems to take the address of the child's method, hence the infinite loop. Probably something to do with threading.

Well, good catch. Now, you will know in what circumstance not to use BeginInvoke.

Btw, I don't know in which context you wanted to use this, but you probably should review your design.
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott16-Oct-08 1:37
Rob Philpott16-Oct-08 1:37 
AnswerRe: Delegates are trying to make me look stupid Pin
Simon P Stevens15-Oct-08 23:32
Simon P Stevens15-Oct-08 23:32 
GeneralRe: Delegates are trying to make me look stupid Pin
Rob Philpott16-Oct-08 1:33
Rob Philpott16-Oct-08 1:33 
Questionis it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 3:38
nesfrank15-Oct-08 3:38 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Simon P Stevens15-Oct-08 3:45
Simon P Stevens15-Oct-08 3:45 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Kevin McFarlane15-Oct-08 3:46
Kevin McFarlane15-Oct-08 3:46 
AnswerRe: is it such a thing LinkedLists in C# ? Pin
Giorgi Dalakishvili15-Oct-08 3:46
mentorGiorgi Dalakishvili15-Oct-08 3:46 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 6:29
nesfrank15-Oct-08 6:29 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
Giorgi Dalakishvili15-Oct-08 6:40
mentorGiorgi Dalakishvili15-Oct-08 6:40 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 7:51
nesfrank15-Oct-08 7:51 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
Dan Neely15-Oct-08 7:09
Dan Neely15-Oct-08 7:09 
GeneralRe: is it such a thing LinkedLists in C# ? Pin
nesfrank15-Oct-08 7:50
nesfrank15-Oct-08 7:50 
QuestionProblems of losing handle to stdcall-api from C#-DLL Pin
J. Holzer15-Oct-08 3:29
J. Holzer15-Oct-08 3:29 
QuestionEnable/disable buttons in Toolbar Pin
kanchoette15-Oct-08 3:24
kanchoette15-Oct-08 3:24 
AnswerRe: Enable/disable buttons in Toolbar Pin
Giorgi Dalakishvili15-Oct-08 3:29
mentorGiorgi Dalakishvili15-Oct-08 3:29 
QuestionThreads and Form Controls Pin
Programm3r15-Oct-08 2:41
Programm3r15-Oct-08 2:41 
AnswerRe: Threads and Form Controls Pin
Giorgi Dalakishvili15-Oct-08 2:49
mentorGiorgi Dalakishvili15-Oct-08 2:49 

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.