In the old days when I could use APi and not have to worry this would be easy... but anyway
Does anyone know of a way to use .net to subclass the events of certian modules loaded into a process.I don't know a hook or something.. damn i'm tired....
Printable View
In the old days when I could use APi and not have to worry this would be easy... but anyway
Does anyone know of a way to use .net to subclass the events of certian modules loaded into a process.I don't know a hook or something.. damn i'm tired....
I wanted to subclass a Form with my user control to get mouse events, and here is what I did to get around the issue.
I declared a Form object withevents, set it to the form I wanted and then used its event handlers within my usercontrol object.
Maybe something like this can work for you , too. :D
what i am after is an outside process, I can attach to it with the system.diagnostics.Process but I can't do anything except close it and monitor it's events and make logs. I actually need to filter its incoming and outgoing tcp/ip packets and be able to modify them if need be in an event. I am working on doing it in vb6 now but i wanted to do it in .net.
thx
---------------------------------------------------------------------------
man i need to proof read this stuff i had some major errors
---------------------------------------------------------------------------
Like you said... in the old days this would have been easy.
Good luck!
:)