When opening the Module Search Order dialog of Dependency Walker (depends.exe), the list of the system well-known DLLs does NOT fit with the one that is located in the registry under 开发者_开发问答the following key "hklm\system\currentcontrolset\control\session manager\knowndlls".
Is the list hardcoded in Dependency Walker?
- Known DLLs is a caching system for Windows NT
- Dependency Walker builds a tree of the dependencies of each DLL
A list is hard-coded in Known DLLs and then it is extended based on the DLLs' static dependencies while the Dependency Walker application scans any DLL for any dependencies (from its homepage: "Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected").
Use Dependency Walker if you want to reliably find a DLLs dependencies instead of the NT registry.
精彩评论