Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: How To Use Windows Runtime Component in WinForm App Pin
Afzaal Ahmad Zeeshan20-Feb-17 22:46
professionalAfzaal Ahmad Zeeshan20-Feb-17 22:46 
QuestionError Could not open form interface design in C# ? Pin
Member 245846719-Feb-17 22:59
Member 245846719-Feb-17 22:59 
AnswerRe: Error Could not open form interface design in C# ? Pin
Eddy Vluggen19-Feb-17 23:05
professionalEddy Vluggen19-Feb-17 23:05 
AnswerRe: Error Could not open form interface design in C# ? Pin
OriginalGriff19-Feb-17 23:23
mveOriginalGriff19-Feb-17 23:23 
GeneralRe: Error Could not open form interface design in C# ? Pin
Rob Philpott20-Feb-17 5:02
Rob Philpott20-Feb-17 5:02 
GeneralRe: Error Could not open form interface design in C# ? Pin
OriginalGriff20-Feb-17 5:07
mveOriginalGriff20-Feb-17 5:07 
QuestionAccessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 10:47
professionalJörgen Andersson19-Feb-17 10:47 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Dave Kreskowiak19-Feb-17 11:33
mveDave Kreskowiak19-Feb-17 11:33 
No, not like that. By the time your Main gets to Class2.GetSignatureFromMethod the parameter values are no longer on the stack. They just don't exist anymore.

You've picked a very difficult problem that cannot be done without that knowledge of IL. The thing is that you have to grab the parameter values while the code is still in the method that you called. If you call ANY other method while the method your interrogating is running the stack gets deeper and you have to walk the stack to go get the correct parameter values. How far down the stack do you have to go? This is entirely dependent on your interrogation code.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 21:09
professionalJörgen Andersson19-Feb-17 21:09 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Gerry Schmitz19-Feb-17 15:06
mveGerry Schmitz19-Feb-17 15:06 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 21:04
professionalJörgen Andersson19-Feb-17 21:04 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Gerry Schmitz20-Feb-17 8:25
mveGerry Schmitz20-Feb-17 8:25 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Richard Deeming20-Feb-17 2:44
mveRichard Deeming20-Feb-17 2:44 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson28-Feb-17 20:34
professionalJörgen Andersson28-Feb-17 20:34 
QuestionWindows form application connectivity Pin
Member 1301073119-Feb-17 8:54
Member 1301073119-Feb-17 8:54 
AnswerRe: Windows form application connectivity Pin
NotPolitcallyCorrect19-Feb-17 9:47
NotPolitcallyCorrect19-Feb-17 9:47 
AnswerRe: Windows form application connectivity Pin
Richard Deeming19-Feb-17 9:48
mveRichard Deeming19-Feb-17 9:48 
GeneralRe: Windows form application connectivity Pin
Member 1301073120-Feb-17 1:48
Member 1301073120-Feb-17 1:48 
GeneralRe: Windows form application connectivity Pin
Richard Deeming20-Feb-17 1:53
mveRichard Deeming20-Feb-17 1:53 
GeneralRe: Windows form application connectivity Pin
Member 1301073120-Feb-17 4:23
Member 1301073120-Feb-17 4:23 
GeneralRe: Windows form application connectivity Pin
Richard Deeming20-Feb-17 4:48
mveRichard Deeming20-Feb-17 4:48 
GeneralRe: Windows form application connectivity Pin
Dave Kreskowiak20-Feb-17 5:29
mveDave Kreskowiak20-Feb-17 5:29 
GeneralRe: Windows form application connectivity Pin
Member 1301073120-Feb-17 6:57
Member 1301073120-Feb-17 6:57 
GeneralRe: Windows form application connectivity Pin
Dave Kreskowiak20-Feb-17 9:30
mveDave Kreskowiak20-Feb-17 9:30 
AnswerRe: Windows form application connectivity Pin
Sascha Lefèvre20-Feb-17 5:11
professionalSascha Lefèvre20-Feb-17 5:11 

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.