Register / Log in

The other day at work, I was reminded of some problems we were having a while back with getting some DLLs to load.  It was quite frustrating, and we couldn’t get the problem fixed on our own.  We eventually discovered a nifty utility program called Dependency Walker (http://www.dependencywalker.com/) that helped us find out what was going wrong.  While all of the DLLs that we had created or directly referenced were where they were supposed to be, we had a DLL that had a dependency on a DLL that had a dependency on a DLL that we weren’t thinking about.  Dependency Walker helped us see this, and then the problem was easy to fix.

The screenshot below shows Dependency Walker in action:

The program is extremely easy to use.  Just browse and find your DLL and load it, and it tells you everything that tries to get loaded after that.  Dependencies that don’t exist (or have some other problem) show up in red.

It is one of those nice utility tools that I wish I had known about a long time ago.

View Comments

blog comments powered by Disqus