(If you know about depends, you know that if you don’t use the correct version of depends to open the corresponding x86/x64 type of PE executable file, you may not be able to get the correct dependency information, but the x86/x64 version of depends can only register it. Any program starts the program for the SHELL context menu. So in order to facilitate my own operation, I wrote this hijacking plugin. Since the hook is the CWinXXApp::OpenDocumentFile function, it supports switching to another version of depends midway after startup. Such as through the file open command, drag in the file, double-click operation and so on.
It may also be useful to other programmers, so it is released.
Annex 1: Only plug-ins are included
Attachment 2: The depends program containing the plug-in and the latest version known to me, extracted from WDK10.10586)