Module Search Order
I think there are some real bugs related to Module Search Order. I’m posting this here since it’s related to the report above.
When WinDepends is launched and no file has been scanned yet, “The Application Directory” points to the WinDepends installation directory.
![]()
After scanning a file, this changes to the actual application directory, which I assume is intentional.
![]()
However, as shown in the screenshots above, The Application Directory is listed above the System Path section. Despite this ordering,
%PATH%is still prioritized over the application directory during analysis.For example,
Kdiff3/binis present in the system path:![]()
Originally posted by @i486 in #35
Check the https://github.com/hfiref0x/WinDepends/commit/6b0a753807a6baab6ce035578b09ef9f15fd02a9 commit. The logic of path resolution is changed. Now WinSxS resolution takes priority if the resolved file path belongs to WinSxS directory otherwise result is cached and only used when all other resolutions failed.
Yeah, now dependencies in the application path are prioritized without moving "Application Directory" above WinSxS. Thanks!