Hello Everyone.
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:
- Both the C++ DLL and the VB.NET exe are compiled to run on x86. So they are expected to run on the 64 bit OS under WOW mode.
I have 2 questions in this regard:
1) Should the VB.NET code be creating the menu handler under:
Instead of
?
2) Does the CLSID for the 32 bit DLL get saved under:
on a 64 bit system ?
- 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
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:
Code:
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:
Code:
HKCU\Software\Classes\Wow6432Node\*\shellex\ContextMenuHandlers\
Code:
HKCU\Software\Classes\*\shellex\ContextMenuHandlers\
2) Does the CLSID for the 32 bit DLL get saved under:
Code:
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
Comment