Shell extension installation not recognized by Windows 7 64-bit shell
Posted
by Avalanchis
on Stack Overflow
See other posts from Stack Overflow
or by Avalanchis
Published on 2010-01-22T18:25:25Z
Indexed on
2010/04/27
4:03 UTC
Read the original article
Hit count: 956
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?
© Stack Overflow or respective owner