views:

23

answers:

1

There is a windows explorer extension dll.
This dll can be update automatically 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?

+1  A: 

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.

Jean
No way? so sad. Thanks anyway.
Benjamin