Click here to Skip to main content
11,578,524 members (64,451 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ C#
Is there any way to view to what Windows APIs a file tries to access in offline mode. I mean not when the file is being executed, by analyzing the file like decompiling it.

I googled enough, but I couldn't find what I'm looking for. WinAPIoverride32 and sandboxie, etc they don't do the job for me.
Posted 8-Feb-13 11:22am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Yes you can use a tool called depends which seems to now live at[^] although that's not where I found it last so have some caution.
It will tell you what API the program or DLL is statically linked to but not of course about anything it uses by calling LoadLibrary and GetProcAddress. I use it a lot to inspect the interfaces on my own DLLs for things that shouldn't be getting exported or dependencies I hadn't spotted creeping in.
Dave Kreskowiak at 8-Feb-13 18:21pm
Yes, that's the offical home of Dependency Walker. It's been there for years now.
Matthew Faithfull at 8-Feb-13 18:25pm
Thanks, must be me who got some dodgy copy the last couple of times, can't think why I didn't find that site when I looked for it for myself.
Jackson Mackson at 8-Feb-13 18:24pm
Thank you, that was exactly what I wanted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100