How do find out what libraries a windows exe uses?

windows-xp

Solution

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.

Problem

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?

Original source