让depends支持自动根据PE镜像类型来决定启动x86/x64版本的depends的插件
如果你对depends了解就知道如果不使用正确版本的depends打开对应的x86/x64类型的PE可执行文件,将可能造成无法获取到正确的依赖项信息,但是x86/x64版的depends只能注册其中任何一个程序为SHELL上下文菜单启动程序。所以为了方便自己操作写了这个劫持插件。由于挂钩的是CWinXXApp::OpenDocumentFile函数,所以支持启动后中途切换到另外个版本的depends。如通过文件打开命令,拖入文件,双击操作等。可能对其他编程人员也有用,所以发布出来。
附件1:只包含插件
附件2:包含插件和我已知的最新的版本的depends程序,提取自WDK10.10586
(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)
页:
[1]