|
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 quoteHide 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 quoteHide 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
doing some background work occasionally
Binary Serialization -- how to actually insert into database? response.transmitfile fails when deployed (ASP.NET 2) session variable and asynchrous call Hover effects, IMessageFilter not working as expected .NET 2.0 Reflection Problem vs framework 1.1x - how to get the fields of a given Structure in the sa Regex - words extraction Debug symbols not loading when built on another machine Image Recommendations .NET 2.0 problem: 100% cpu usage in mscorwks.dll!CreateApplicationContext |
|||||||||||||||||||||||