views:

155

answers:

5

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.

A: 

http://www.bladeapimonitor.com/ seems to be doing what you need.

Depending on what you want to see, Procmon might also do the job.

ThiefMaster
This blade monitor looks like a fake. Multiple typos in interface, and I can't get it working.
skevar7
+2  A: 

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/

evilpie
it's 32-bit only :(
skevar7
Does it work? I would tedt the x64, but i dont own such an windows version.
evilpie
+2  A: 

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.

Chris O
+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
@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
A: 

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.

cji
A: 

API Monitor has been recently updated to include 64-bit support. The current version includes support to monitor over 10,000 API's and also supports monitoring of 600+ COM interfaces including Windows Shell, DirectX, DirectShow etc. Other features include call stack capture, monitoring of NT services, call tree display.

View a list of complete features, screenshots and downloads go to http://www.rohitab.com/apimonitor/

rohitab