Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do find out what libraries a windows exe uses?

Tags:

windows-xp

I have a 3rd party application that doesn't come with an installer. It's a very small exe, a simulator.

Anyhow, it crashes on startup due to some missing libraries. But the error doesn't tell me which ones. Is there an application on windows that tells me which libraries are going to be loaded at program load time?

like image 965
hookenz Avatar asked Nov 22 '09 19:11

hookenz


2 Answers

It's been a few years since i've used it but Dependency Walker got me through a lot of DLL hell.

Also, Process Explorer is a great and fast way to see what DLLs are loaded by an EXE on a test machine... for comparison purposes when hunting down missing DLLs.

like image 77
Paul Sasik Avatar answered Oct 14 '22 05:10

Paul Sasik


Only a partial answer: DEPENDS.EXE tells you what dlls a dll needs. I think it works for EXE's too.

like image 29
Adam A Avatar answered Oct 14 '22 03:10

Adam A