|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Redirect a method callHi,
Does anybody know if it is possible to redirect a method call? Let' say I want to call my own implementation of the message box each time when somebody in my application calls the MessageBox.Show. My application has many modules that are loaded dynamically (Reflections). I want to redirect the method calls that are done in such a module. Thank you, Ralph Research on trampoline functions. It is a method of intercepting API
calls and redirecting them to another method while maintaining the option to call the original method. Bryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com Show quote "Ralph" <gduru2***@yahoo.de> wrote in message news:1161955655.563654.262590@e3g2000cwe.googlegroups.com: > Hi, > > Does anybody know if it is possible to redirect a method call? > Let' say I want to call my own implementation of the message box each > time when somebody in my application calls the MessageBox.Show. > My application has many modules that are loaded dynamically > (Reflections). I want to redirect the method calls that are done in > such a module. > > Thank you, > > Ralph Research on trampoline functions. It is a method of intercepting API
calls and redirecting them to another method while maintaining the option to call the original method. Bryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com Show quote "Ralph" <gduru2***@yahoo.de> wrote in message news:1161955655.563654.262590@e3g2000cwe.googlegroups.com: > Hi, > > Does anybody know if it is possible to redirect a method call? > Let' say I want to call my own implementation of the message box each > time when somebody in my application calls the MessageBox.Show. > My application has many modules that are loaded dynamically > (Reflections). I want to redirect the method calls that are done in > such a module. > > Thank you, > > Ralph |
|||||||||||||||||||||||