Dependency Walker: Error Opening File

I am using Dependency Walker to try and resolve a .dll error. I have a main project that includes many libraries. Dependency Walker shows an error on 4 .dlls:

Error opening file. The system cannot find the file specified (2).

Which is funny because the output of Visual Studio's linker clearly shows that the libraries have been found. Everything in the .exe is linked properly (all symbols are resolved). When I start the application I get a Windows error:

The program has stopped working.

I'm using the same API that was discussed in this question: Win32 DLL importing issues (DllMain). If I build in debug mode I get the error that is quoted about memory initialization.

Are the .dlls being included or is the problem that Dependency Walker can't see the .dlls? Is this because the relevant libraries are import libraries?

Answers


The .dlls were being included. Dependency Walker just didn't know where to find the files. Adding the library directories to the system PATH variable allowed Dependency Walker to find the libraries.


Need Your Help

How to walk the Kernel's VMA?

linux kernel memory

I'm writing a kernel module that finds and parses the VM_EXEC pages of a process. This is doable through walking the virtual memory of the process, similar to what /proc/$PID/maps does. However, I ...

How create ISessionFactory with FluentNHibernate

nhibernate orm fluent-nhibernate nhibernate-mapping

In a project MyProject.Data, I have a folder named mappings with all mapping in.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.