I have a Copy Hook Handler shell extension that I'm trying to install on Windows 7 64-bit.
The shell extension DLL is compiled in two separate versions for 32-bit and 64-bit Windows.
The DLL implements DLLRegisterServer which adds the necessary registry entries.
After adding the registry entries, it calls the following line of code to nofity the Windows shell:
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL);
Everything works great on Windows7 32-bit. The shell recognizes the extension immediately.
On 64-bit, the shell extension is only recognized after the shell is restarted.
Is there anything I can do to cause the extension to be recognized without restarting the 64-bit shell?