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.

StayOnTarget
  • 9,925
  • 10
  • 45
  • 68
skevar7
  • 975
  • 1
  • 10
  • 21

5 Answers5

4

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.

James Johnston
  • 9,058
  • 7
  • 47
  • 75
3

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
  • 2,575
  • 19
  • 21
3

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
  • 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
0

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
  • 298,938
  • 77
  • 579
  • 623
0

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
  • 6,426
  • 2
  • 19
  • 16