I am new to Windows programming / registry settings and I need help regarding setting a context menu. Allow me to provide details.
- There is a DLL written in C++ which somehow is able to display a "MyApp" menu when I right click any file. I am not sure how it displays the menu (not owned by me).
- The programming language I used to register the content menu handler is VB.NET. I have code that creates a new key:
Expand|Select|Wrap|Line Numbers
- HKCU\Software\Classes\*\shellex\ContextMenuHandlers\MyApp\{CLSID of the C++ DLL}
I have 2 questions in this regard:
1) Should the VB.NET code be creating the menu handler under:
Expand|Select|Wrap|Line Numbers
- HKCU\Software\Classes\Wow6432Node\*\shellex\ContextMenuHandlers\
Expand|Select|Wrap|Line Numbers
- HKCU\Software\Classes\*\shellex\ContextMenuHandlers\
2) Does the CLSID for the 32 bit DLL get saved under:
Expand|Select|Wrap|Line Numbers
- HKCR\Wow6432Node\MyApp\CLSID
- Both the registering and the context menu work fine on 32 bit systems. I am only trying to make it work on 64 bit.
- The 64 bit OSes in question are Windows XP and Windows Vista [in future I might need Windows 7 64 bit too].
If more information is needed, please let me know.
Can someone please help me with this ? Links/pointers to existing articles will also be helpful.
Thanks in advance,
Parag Doke