Defrag Tools #147 - Dependency Walker

Sign in to queue

Description

In this episode of Defrag Tools, Andrew Richards and Chad Beeder talk about Dependency Walker. A tool used to view the DLL Import dependencies of EXEs and DLLs, and to view the Exports.

Timeline:
[01:20] - View EXE/DLL dependencies
[04:34] - http://dependencywalker.com/
[07:15] - Depends.exe
[08:08] - API Sets
[10:30] - LoadLibrary/GetProcAddress
[11:30] - Exports by Name or Ordinal
[17:50] - Email us your issues at defragtools@microsoft.com

Embed

Download

Download this episode

The Discussion

  • User profile image
    Dax1792

    There are links to all the latest Visual C++ Redistributables in https://support.microsoft.com/en-gb/kb/2977003

  • User profile image
    JohnLudlow

    I've had to use Dependency Walker quite a lot to diagnose installs.

    It's worth mentioning a few of the gotchas like making sure you match the architecture of Dependency Walker with the architecture of the PE you are analyzing, or that WinSxS typically throws lots of false positives into the list results.

  • User profile image
    felix9

    IIRC there are new builds of depends in the Windows Driver Kit.

    although its most likely just build number pumping without new features.

    IIRC there is even an arm64 build of it in WDK 10 right ? maybe in 10586.

  • User profile image
    Deactivated User

    Dependency Walker reminds me, it's how I was trying to figure out why GNU Cash failed on my DreamSpark licensed Windows Server 2008R2 when I found this wonderful shiny new show of yours. I never pinpointed why GNU Cash works on Windows 8, 7, Vista, ... but not on Server 2008R2, and probably 2012, ...

    It's even why I wrote my first Windows Store app (CashFlow), that has long way of improvisations to go now, and I've been trying to get the hang of C++ Windows Store development ever since. Maybe you might get to show Dependency Walker & co. doing post-mortem on GNU Cash. Merry Christmas.

  • User profile image
    Magic​Andre1981

    yeah, depends.exe is still part of the WDK (the Version is 2.2.10586.0).

     

    You for got the F7 Profile function, which I use most of the time in depends.exe. The Ask the Performance Team Blog posted a guide some time ago:

    https://blogs.technet.com/b/askperf/archive/2010/06/25/analyze-application-failures-the-easier-way-with-dependency-walker.aspx

Add Your 2 Cents