Click here to Skip to main content
12,943,742 members (62,772 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 8-Feb-13 18:21pm
Yes, that's the offical home of Dependency Walker. It's been there for years now.
Jackson Mackson 8-Feb-13 18:24pm
Thank you, that was exactly what I wanted
Matthew Faithfull 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.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,643
CHill60 2,970
Maciej Los 2,348
Jochen Arndt 1,900
ppolymorphe 1,765

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2017
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