There was an "API Monitor" program, but it seems discontinued. Doesn't work on my system. Is there any such tool, which can work on Windows 7 x64? I need to log API calls from a selected set, better when parameter values.
-
3Is "API Monitor" different than this program: http://www.rohitab.com/apimonitor ? – Merlyn Morgan-Graham Jul 31 '10 at 07:58
-
See also [(Windows) Monitoring API calls in C](https://stackoverflow.com/questions/720317/windows-monitoring-api-calls-in-c) – user May 13 '17 at 18:48
5 Answers
I use the API Monitor tool at http://www.rohitab.com/apimonitor. It's not abandoned, the author seems to be releasing regular updates including some from the past year. I found it relatively easy to learn, and have used it to discover API calls made by some components of Windows that I was studying, among other debugging tasks.
- 9,058
- 7
- 47
- 75
Heres is an list of such tools: http://www.woodmann.com/collaborative/tools/index.php/Category:API_Monitoring_Tools. You could try the first one, its OpenSource and was last updated this year: http://jacquelin.potier.free.fr/winapioverride32/
Edit: You could try this one for x64 http://www.autodebug.com/
- 2,575
- 19
- 21
-
Does it work? I would tedt the x64, but i dont own such an windows version. – evilpie May 13 '10 at 19:42
There's also Detours, free from Microsoft, it's a library to hook the windows API, but it's not a complete monitor program, you have to do some work to intercept the API calls.
- 4,983
- 2
- 35
- 42
-
1+1 for Detours in principle, it is an impressive and powerful library. As such it likely won't constitute the *API Monitor program* @skevar7 is asking for though, but you can certainly built one with it. The major issue though is that the free Express version works with 32-bit code only, for 64-bit code (as requested) you'll need the professional one, which is available for a *One-time licensing fee* of 'just' [$10,000](http://www.microsoft.com/about/legal/en/us/IntellectualProperty/IPLicensing/Programs/Detours.aspx) ... – Steffen Opel Jul 29 '10 at 14:23
-
@Steffen Opel Wow, thanks for the heads up, that will certainly put a damper on the library, as more folks go to win64 dev. – Chris O Jul 29 '10 at 16:41
http://www.bladeapimonitor.com/ seems to be doing what you need.
Depending on what you want to see, Procmon might also do the job.
- 298,938
- 77
- 579
- 623
-
This blade monitor looks like a fake. Multiple typos in interface, and I can't get it working. – skevar7 May 13 '10 at 10:38
With every version of Visual Studio comes Spy++ tool, which let's you monitor all messages in choosen process, window or thread, but not API, unfortunately.
- 6,426
- 2
- 19
- 16