Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2010
    Posts
    11

    Registry Win 7 x64

    Hello I had a Windows XP x86 machine where I used this script.

    Code:
    runmode = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Test Prog\\Node", "Mode", true);
    -- Display the value read from the Registry in a dialog.
    if mode=="65747" then
    Paragraph.SetText("Paragraph3", ">> Beta mode <<");
    end
    if mode=="16" then
    Paragraph.SetText("Paragraph3", ">> Normal mode <<");
    end
    Now I changed to a Windows 7 x64 machine and this do not work. Can anyone help me to make this compatible with Windows 7 and Win7 x64 if there is any difference between those. Thank you!

  2. #2
    Join Date
    Feb 2012
    Posts
    163
    http://www.autoplaymediastudio.com/detail/78/wow64.html

    use this plugin and just change (I think),

    Code:
    runmode =Wow64.RegistryGetValue(HKEY_LOCAL_MACHINE, "SSoftware\\Test Prog\\Node", "Mode", true, Wow64.KEY32);

  3. #3
    Join Date
    May 2010
    Posts
    11

    =&

    Hello.


    Tried to use
    Code:
    runmode =Wow64.RegistryGetValue(HKEY_LOCAL_MACHINE, "Software\\Test Prog\\Node", "Mode", true, Wow64.KEY32);
    without any luck :(

    Any other ideas

  4. #4
    Join Date
    May 2010
    Posts
    11
    Nevermind it works now! Thank you

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts