473,320 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Registering 32 bit DLL for context menu on 64 bit Windows

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:
Expand|Select|Wrap|Line Numbers
  1. HKCU\Software\Classes\*\shellex\ContextMenuHandlers\MyApp\{CLSID of the C++ DLL}
  2.  
- 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:
Expand|Select|Wrap|Line Numbers
  1. HKCU\Software\Classes\Wow6432Node\*\shellex\ContextMenuHandlers\
  2.  
Instead of
Expand|Select|Wrap|Line Numbers
  1. HKCU\Software\Classes\*\shellex\ContextMenuHandlers\
  2.  
?

2) Does the CLSID for the 32 bit DLL get saved under:
Expand|Select|Wrap|Line Numbers
  1. HKCR\Wow6432Node\MyApp\CLSID
  2.  
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
Sep 19 '09 #1
1 6256
Has anyone got any pointers for my question ?
Sep 25 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mohit Gupta | last post by:
Hi all, Lately I have been working on an application in VB .net CF for Pocket PC device. I have a small question about Context Menu. When I try to close the window after context menu is poped...
5
by: Dean L. Howen | last post by:
Dear friends, Could we determine when context menu should appear?
8
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for...
0
by: Andrew Baker | last post by:
Have a look at the code below. It's a really simple example where I have added two controls to a form, a textbox and a combo box. Both add owner drawn context menus to the controls, but the...
1
by: goRide | last post by:
Hi, I'm looking of a way (preferred - a ready class or dll) to customize the context menu. many application has more controls inside the context menu (like textbox, sliders, checkbox, panel...
2
by: Bry | last post by:
I have a context menu which is shared between a TreeView and ListView control (both controls show the same information, similar to how Windows Explorer works, so it makes sense to use the same menu...
0
by: Patel | last post by:
Hi All, I am doing one INTERESTING work with Context Menu Strip. I am trying to insert a custom control / .Net control in Context menu as a context menu strip. I tried inserting MonthCalender in...
3
by: hzgt9b | last post by:
Using VS2005, VB.NET, I am developing a windows app that has a DataGridView. I want to enable the display of a context menu on this DataGridView only when a specific set of keys is also pressed...
4
by: Karl | last post by:
Hi all, I want to write an application that is launched from the context menu in Windows Explorer/Computer. That is to say, when I am browsing around my hard drive and get to any location I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.