Monitoring application calls to DLL

Some more Google searching found what I was looking for: WinAPIOverride32. It allows writing text files such as:

CustomApi.dll|void NameOfFunction(long param1, double& param2);

Later on, these files can be used inside the program to log all calls to NameOfFunction. Now I just need to figure out how to log arrays and structs parameters.


A "static" solution (in the sense it can capture a stack trace on demand) would be Process Monitor.

Process Monitor

A more dynamic solution would be ApiMonitor, but it may be too old to be compatible with the applications to monitor. Worth a try though.

http://www.rohitab.com/gallery/api-monitor-2-0/main-window.png