View Single Post
  #1  
Old 07-06-2020, 10:41
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 387
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 65 Times in 34 Posts
jonwil Reputation: 21
WIN32 API hooking for .NET applications?

I have a .NET application that calls some native APIs via dllimport (including APIs in system dlls like user32.dll). I do not have the ability to recompile (or modify) this .NET application. Is there a way I can hook these native APIs somehow? (i.e. intercept the user32 calls, do some stuff and then call the original user32 function)
Some of the calls I want to intercept are being made by the application itself (and dlls that are alongside it) and some are being made by .NET runtime components.
Reply With Quote