当Windows资源管理器加载时,什么是可靠的方法来加载DLL? [英] What is a reliable way to get a DLL to load when Windows Explorer loads?

查看:241
本文介绍了当Windows资源管理器加载时,什么是可靠的方法来加载DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究Windows资源管理器的附加组件的开发,这将为其中的WebDAV添加一些增强功能,为此,我正在寻找一种可靠的方式来强制使用Windows资源管理器加载DLL在XP / Vista / Win7 32位和64位操作系统中。



我似乎记得一个BHO将以与Windows资源管理器相同的方式加载IE,但是我的初步测试在Vista 64上是负面的。我很有可能在那里做错事,并且会进一步研究一下。



我也是看了一下壳牌扩展,但是据我所知,如果采取某些行动,我们只能加载它们。我也可能是错误的。



所以,我想要一些建议,以实现这一点的好方法:)



我只需要在加载Windows资源管理器时加载DLL。



更新:刚刚发布此问题我发现我的BHO注册在注册表中设置了NoExplorer选项,我想这将解释为什么它不工作。删除后,它看起来像它的工作。但是,如果还有其他方法可以完成同样的事情,我仍然乐意学习。

解决方案

看看TortoiseSVN项目。具体的一些他们提示调试Explorer的shell扩展。请参阅 http://tortoisesvn.tigris.org/svn/tortoisesvn /trunk/src/Debug-Hints.txt



他们的注册表项列表大约有300行,所以我不会在这里复制。您可以在以下网址查看: http://tortoisesvn.tigris。 org / svn / tortoisesvn / trunk / src / TortoiseShell / register.registry
(user:guest,password)。


I am researching the development of an add-on for Windows Explorer that will add some enhancements to the WebDAV therein, and to that end I'm looking for a good, reliable way to force a DLL to be loaded with Windows Explorer in XP/Vista/Win7 32- and 64-bit OSes.

I seem to recall that a BHO would be loaded by Windows Explorer in the same way that it is in IE, but my initial tests of this are negative on Vista 64. It's highly possible I'm just doing something wrong there and will look into that some more.

I also looked at Shell Extensions, but as far as I can tell those are only loaded if certain actions are taken. I could also be wrong about this.

So, I'd love some suggestions for a good way to make this happen :)

I just need to have the DLL loaded whenever Windows Explorer is loaded.

Update: Right after I posted this question I discovered that my BHO registration had the NoExplorer option set in the registry, which I suppose would explain why it wasn't working. After removing that, it looks like it's going to work. I'm still open to learning if there are any other ways to accomplish the same thing, though.

解决方案

I'd take a look at the TortoiseSVN project. Specifically some of their hints for debugging Explorer shell extensions. See http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/Debug-Hints.txt

Their list of registry entries is about 300 lines, so I won't copy them here. You can view them at: http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/TortoiseShell/register.registry (user: guest, password "").

这篇关于当Windows资源管理器加载时,什么是可靠的方法来加载DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆