Questions tagged [dependency-walker]

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.

From the Dependency Walker homepage:

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.

Dependency Walker is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures.

Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, Vista, and 7. It can process any 32-bit or 64-bit Windows module, including ones designed for Windows CE. It can be run as graphical application or as a console application. Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected. A detailed help is included.

To get the latest version see https://en.wikipedia.org/wiki/Dependency_Walker or https://stackoverflow.com/a/36049618

75 questions
4
votes
1 answer

Dependency Walker Not Showing All the Depended Dll

I have a fortran dll, and I want to know the assemblies that it depends on for redistribution purpose. One thing I found out is that the dependency walker doesn't show all of the dependencies, i.e, there are some dlls that my assembly is dependent…
Graviton
  • 81,782
  • 146
  • 424
  • 602
4
votes
2 answers

Dependency Walker on .NET applications: FlsAlloc

I have tried to profile several .NET executables in dependency walker and always get something like this: GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsAlloc") called from "MSCOREE.DLL" at address 0x79006079 and returned 0xFFBADD11. I tried making a…
insipid
  • 3,238
  • 3
  • 26
  • 38
4
votes
1 answer

Missing or incompatible file: ImportError: DLL load failed: %1 is not a valid Win32 application

Problem: Getting this error when trying to import python-tesseract into my project (OCR functionality): ImportError: DLL load failed: %1 is not a valid Win32 application. I do not know what exactly the problem is I do not have the skills and…
Chris Dutrow
  • 48,402
  • 65
  • 188
  • 258
3
votes
1 answer

Circular dependency errors from KERNEL32.DLL?

Recently I've had a problem that seemingly every DLL I've opened with Dependency Walker gives an error like: (Dependency Walker Module Error - "c:\windows\syswow64\MSVBVM50.DLL" will fail to load due to circular dependencies.) I'm using MSVBVM50 as…
StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
3
votes
0 answers

Dependency-walker reports errors in HelloWorld

to get familiar with dependency-walker I built a simple (32-Bit) command line c++ HelloWorld.exe with Visual Studio. Using (32-Bit) dependency walker on that .exe file it shows me VCRUNTIME140.DLL as a dependency which is fine. But it shows five…
Alfred S.
  • 43
  • 3
3
votes
1 answer

VSTO 2010 Runtime on Windows XP SP3

I developed an Excel VSTO add-in in Visual Studio 2010. It works fine on different combinations of Windows 7+ and Excel 2007+, but fails to load on Windows XP and Excel 2007 with a non-informative "A runtime error occurred during the loading of the…
mephi42
  • 475
  • 6
  • 18
2
votes
1 answer

LoadLibrary fails and dependency walker does not help

I was trying to use QOCI plugin for QtSql, until I had some problems: Why QOCI plugin isn't working However it turned out that it is a library loading issue (at least I think so), so I decided to change the subject of the question since it is a new…
Hayri Uğur Koltuk
  • 2,970
  • 4
  • 31
  • 60
2
votes
0 answers

Circular dependency with Dependency walker due to forwarded functions?

When checking a dll, dependency walker reports Error: A circular dependency was detected. The documentation says Detects circular dependency errors. This is a very rare error, but can occur with forwarded functions. What does forwarded function…
Roi Danton
  • 7,933
  • 6
  • 68
  • 80
2
votes
1 answer

How to output dependency walker to the console?

Fairly straightforward question, but I can't seem to find if this is an option in their command line help. Is there anyway to output the contents of the dependency walker directly to the console? Yes, I'm aware that you can specify it to output to…
Chris
  • 2,254
  • 8
  • 22
2
votes
0 answers

Calling "clueless" function C++ DLL from C#

Most of the time, I know how to P/Invoke C++ function from C# but at this point, I only know the functions name and I don't know what it returns and what kind parameters that should be passed. I able to find the function name via Dependency…
user5523349
2
votes
1 answer

Dependency Walker parent import function list shows functions from a different lib

I am trying to include a external library (.lib pointing to a .dll) in my project. I am building on windows using QT (it appears to be using msvc2010 as the compiler) and have: LIBS += /.lib in my .pro file. I have the…
Chris
  • 574
  • 7
  • 24
2
votes
1 answer

How does a Dependency Walker work?

I would like to be able to write my own version of a dependency walker tool (I think this is a good way to learn things). However, I don't have the necessery knowledge to be able to know, given a PE file (dll/exe) - what are it's depenencies. I…
Lost_DM
  • 941
  • 2
  • 10
  • 24
1
vote
0 answers

Dependencies flags "module could not be found on disk" even though the DLL is there

I've been using Dependency Walker's successor, Dependencies, to troubleshoot some errors with a legacy application I'm working on. I've noticed that Dependencies flagged a DLL as missing (let's call it Foo.dll), but even after I manually copied it…
RAM
  • 2,257
  • 2
  • 19
  • 41
1
vote
0 answers

DLL JAVA Calling Nested DLL Method

I have a DLL but no source code for it. I would like to call a method inside this DLL. Now in this Picture. You can see that I want to access is the Test2.DLL which have fb1_CheckSensor Method. But it resides inside the Test1.DLL So lets say I only…
Aizen
  • 1,807
  • 2
  • 14
  • 28
1
vote
1 answer

Windows Symbol Address Definition

I have extracted a dump file of system call addresses called in windows using ETW. I had some confusions about the addresses. I just use NtOpenFile for future examples. 1- I dump the Kernel PDB file received from Microsoft symbol server…