Jump to content
Sign in to follow this  

x64 binary calling x86

Recommended Posts

I know if x86 binary uses regread hklm64\software, it will call the hklm\software.  Hklm\software calls hklm\software\wownode6432.  Is there a way to do the reverse?  x64 binary to call x86 registry, so hklm32\software would call hklm\software\wownode6432?

Share this post

Link to post
Share on other sites



If (@OSArch = "x64") And (@AutoItX64 = 1) Then
    MsgBox(0, "x64 / x32", "This is 64bit code running on x64 Windows")
    $key = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AutoItv3"
    $key = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AutoItv3"
$val = "DisplayName"
$AutoitDisplayName = RegRead($key, $val)
MsgBox(0, "Autoit Version", $Autoit

Regards, Rudi.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...