How to check for DLL dependency?

Sometimes when I’m doing a little project I’m not careful enough and accidentally add a dependency for a DLL that I am not aware of. When I ship this program to a friend or other people, “it doesn’t work” because “some DLL” is missing. This is of course because the program can find the DLL on my system, but not on theirs.

Is there a way to scan an executable for DLL dependencies or execute the program in a “clean” DLL-free environment for testing to prevent these oops situations?

11 Answers
11

Leave a Comment