Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-15-2012, 10:51 AM
Rogier Rogier is online now
Registered User
 
Join Date: 09-09-2004
Location: the Netherlands
Posts: 40
Reading registry key on Win7 x64

I'm reading some string from the registry like this:
Code:
%REG_READ("HKEY_LOCAL_MACHINE\SOFTWARE\Manufacturer\ProgramName\InstallPath")%
I'm actually using Windows 7 64-bit. This particular program happens to be a 64-bit program, so its registry key is as specified above, i.e. not in Wow6432Node.

However, VBP7 being a 32-bit app, accessing the registry will automatically access the corresponding keys within Wow6432Node.

Is there a way around this?
Reply With Quote
  #2  
Old 02-15-2012, 11:03 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Not using the REG_READ macro, but you can use the Read Registry action and check the 'Access 64-bit registry view' option.
http://www.kinook.com/VisBuildPro/Ma...adregistry.htm
Reply With Quote
  #3  
Old 02-16-2012, 05:53 AM
Rogier Rogier is online now
Registered User
 
Join Date: 09-09-2004
Location: the Netherlands
Posts: 40
Excellent, thanks! Works like charm.
Reply With Quote
Reply

Tags
registry , reg_read , wow6432node , x64


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:38 PM.


Copyright © 1999-2023 Kinook Software, Inc.