Posted March 21, 20178 yr Hello, i search for a source code example of a program with can trace API call, a wrapper or something like that. For example, i want to see MessageBox call from a other exe, i want this program to put a hook on the second executable and print MessageBox api call and is parameters. If someone have a example of how to do that, thank you in advance.
March 21, 20178 yr Microsoft Detours includes a handful of examples of hooking various API and printing out information as needed via their personal detouring library: https://www.microsoft.com/en-us/research/project/detours/ The concept behind how the examples work can be applied to any other detouring / hooking libraries.
Create an account or sign in to comment