in reply to Reading key from registry (32 and 64 Bit)

See 32-bit and 64-bit Application Data in the Registry.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re: Reading key from registry (32 and 64 Bit)

Replies are listed 'Best First'.
Re^2: Reading key from registry (32 and 64 Bit)
by roteme (Acolyte) on Mar 01, 2012 at 07:04 UTC

    Thanks - But how can i read keys on x64 machine from

    HKEY_LOCAL_MACHINE\SOFTWARE\Intel

    and not from

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

    Wow6432Node folder?
      Thanks - But how can i read keys on x64 machine from HKEY_LOCAL_MACHINE\SOFTWARE\Intel and not from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node Wow6432Node folder?

      My interpretation of this:

      To disable and enable registry reflection for a particular key, use the RegDisableReflectionKey and RegEnableReflectionKey functions. Applications should disable reflection only for the registry keys that they create and not attempt to disable reflection for the predefined keys such as HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. To determine which keys are on the reflection list, use the RegQueryReflectionKey function.

      Is that you shouldn't -- even if you can work out a way to do so.

      The rules are there for good reason -- the configuration of things will often need to be different for the 32-bit and 64-bit versions of the same software.

      If you choose to ignore the rules, then you will likely end up breaking something. At best, it will be your own program. At worst, it could be the OS.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?

        How can i do it with perl?

        Hi,

        Can you please advice how to implement it with perl - How can i run RegDisableReflectionKey and RegEnableReflectionKey Windows functions.

        How can i use/canged Wow6432Node or Wow6432Node.

        Thanks