Click to See Complete Forum and Search --> : Determine which DLLs a program is ACTUALLY using?


HighCommander4
March 9th, 2009, 09:21 PM
I have a program which loads a DLL a startup time, but I suspect that it doesn't actually use any of the procedures in the DLL during execution. Is there a way to confirm this?

Tools like Dependency Walker don't help me, because all they can do is report which DLLs a program will load. I need a way of finding out whether my program actually uses a particular DLL, or it just loads it without making any calls to it.

Any suggestions?

Codeplug
March 9th, 2009, 09:39 PM
Dependency walker will tell you what symbols are being referenced in the DLL. If you want to know if those symbols are ever "touched", then run it under the debugger with breakpoints.

What's the end-goal here?

gg