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
1
vote
1 answer

JNA try to Access native DLL and get module not found error, Dependencies are missing

I have Visual Studio 2010 installed and have a project I got from someone else which I can build successfully without any errors. I get a Wrapper.dll, which I would like to access using JNA. I am using Win7 64-bit. But I get the error:…
Vladimir S.
  • 450
  • 2
  • 10
  • 23
0
votes
4 answers

Visual Studio: Error loading DLL

I've got a C# dll and wanted to import it in stdafx.h (another DLL for JNI): import "C:\Users\Marcus Tik\Documents\Visual Studio 2010\Projects\DotNETSpy\DotNETSpy\bin\Release\DotNETSpy.dll" -> Visual Studio said: "Error loading DLL." Then I used…
Marcus Tik
  • 1,709
  • 6
  • 20
  • 30
0
votes
2 answers

Use Dependency Walker To Verify C Function in DLL

I'm new to dependency walker and I'm trying to determine if my dll contains a C function that I'm trying to call from Java via JNI. When I select the dll that should contain the C function in Dependency Walker, I get the import and export…
c12
  • 9,557
  • 48
  • 157
  • 253
0
votes
0 answers

Problem with running mlpack sample program

I have installed mlpack via msys2. Also I have installed gcc via msys2. Made a simple program in c++ from the code on mlpack website // This is an interactive demo, so feel free to change the code and click the 'Run' button. // This simple program…
Shoyeb Sheikh
  • 2,659
  • 2
  • 10
  • 19
0
votes
1 answer

GetProcAddress does not find function in DLL

I have a DLL and I want to call a function in it. I check the DLL using Dependency Walker and the result I got is: void U2U_Test(void) This is the code that I wrote, but GetProcAddress() returns NULL: typedef void(*U2U_Test_pointer)(); void …
Sasan
  • 149
  • 15
0
votes
1 answer

Find all modules with a dependency on a specific DLL

I know I can use tools like Dependency Walker (and newer rewrites) to answer the question "what DLL dependencies does X have?" But I have about 100 modules built in our solution, and from years ago zlib.dll is added into our release. I want to find…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
0
votes
0 answers

Missing DLLs in Dependency Walker. Trying to load DLL. Unable to load DLL 'libscvpcli.dll': The specified module could not be found

I have a DLL called libscvpcli.dll, both x64 and x32 versions. When I try to import functions from this dll, I get the error message "Unable to load DLL 'libscvpcli.dll': The specified module could not be found." I have tried changing the target…
Majd Odeh
  • 181
  • 1
  • 11
0
votes
1 answer

Using dependency Walker to find missing file

I have a dll that is working well on my computer but doesn't work on another computer. Apperently there is a missing dependency. I tried to use the dependency walker to find the missing file. It says: Error: The Side-by-Side configuration…
mans
  • 17,104
  • 45
  • 172
  • 321
0
votes
3 answers

Catching DLL dependencies in Win32 application

How can I catch a missing DLL in a dependent DLL? For example: Application is loading a DLL A. DLL A is loading DLL B. So if DLL B is not available, application just shows me: DLL A not found. Any hints where I could find a solution? At the moment I…
0
votes
0 answers

Migrating windows project to VS 2017 with third party libraries

I have a solution of about 10 projects, a mixture of c# and C++ which were built using VS 10 as DLLs and run with VC++ redist 10. It uses various third-party libraries such as protobuf, gtest, openssl etc all built with vs 10 toolsets. And hence the…
0
votes
0 answers

Small C program compiles, but tries to import functions from wrong DLLs

I have a small C program that uses 3 DLLs. It uses 8 functions from the first DLL. 5 functions from the second DLL. And 2 functions from the 3rd DLL. Problem 1) When I open the outputed executable with Dependency Walker, the executable only…
JDO
  • 11
  • 2
0
votes
0 answers

Dependency walker doesn't see Visual C++ dependency on C# DLL

I'm afraid Dependency Walker doesn't support this, but I need to make sure I'm not missing something. I have a Visual C++ application that depends on a number of DLLs. One of which, is a DLL written as a C# project (CLR support is therefore turned…
Kendall Weihe
  • 193
  • 5
  • 18
0
votes
1 answer

Understanding Dependency Walker

I am going through this book, and am trying to understand Dependency Walker. When I select something like KERNEL32.DLL, and it shows 6 imports in the top right pane, then when I click on a sub of kernel, like NTDLL.DLL, why are there so many more…
droidus
  • 613
  • 5
  • 14
  • 25
0
votes
1 answer

cplex would not run on matlab due to invalid mex-file

I'm trying to use cplex on matlab but I'm getting the following error: Error using cplexlp (line 256) Invalid MEX-file 'C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\matlab\x64_win64\cplexlink1271.mexw64': The specified procedure could not be…
user7864386
0
votes
0 answers

dll not working in different machines

we have a 32-bit .dll working on a remote 32-bit machine without a problem. We have moved our systems to another machine (64bit), also this .dll was moved. However this .dll is working in the new machine without crash, but not working as intended…
lamostreta
  • 2,359
  • 7
  • 44
  • 61