I created a windows explorer toolbar in C#. This toolbar is removed when uninstalling my applicaiton but it’s still shown after unregistering (cached in explorer.exe). explorer.exe needs a restart in order toolbar to dissapear. How can I fix this by C# code?
I created a windows explorer toolbar in C#. This toolbar is removed when uninstalling
Share
There is really no way to do this cleanly without asking the user to log off.
If there is programatic access to turn off your toolbar, you could inject some code into every explorer process that has your dll loaded and turn off the toolbar and then call CoFreeUnusedLibraries (Still somewhat hacky but you would not have to kill processes)