开发者

How to update windows explorer's shell extension without rebooting

开发者 https://www.devze.com 2023-01-19 22:15 出处:网络
There is a windows explorer extension dll. This dll can be update automatica开发者_如何学Clly if there is new one in our server.

There is a windows explorer extension dll.

This dll can be update automatica开发者_如何学Clly if there is new one in our server.

I rename the origin dll and download the new dll. But Windows Explorer never reload a new one.

So I kill the windows explorer and relaunch.

But this is looked very ugly. And I don't want to recommend a user should reboot.

How can I tell Windows Explorer to reload a new one?


For those still looking for a quicker way, you can try and close all explorer.exe processes and restart one afterwards. This also updates all shell integrated dll's


DLLs are loaded by the program loader, so only at process boot time.
You can make a program that explicitely opens and uses a DLL, and add a command that will close it, reopen it, rebind everything. But you need support of the program for that, so you would need Explorer to support it, or to change its code.

So, with 99% certitude, you can't do what you want without restarting windows explorer. At all.

0

精彩评论

暂无评论...
验证码 换一张
取 消