none
reading registry keys and values - problem RRS feed

  • Question

  • Developing in C#, VS 2015.

    Have developed a winform application target x86 (needs to be).  This application reads some custom keys and values from the registry HKLM Software, etc.   I run regedit and can see the keys and values exist.  The problem I have is that when I install the application on 64bit windows, the rKey = Registry.LocalMachine.OpenSubKey("Software\\KSUKAT\\RT\\Config"); in the code always returns a null to rKey.  I have read online till my eyes have bled, but haven't found information on what I am doing wrong.  Any pointers would be greatly appreciated.

    Thanks.

    Friday, March 27, 2020 3:07 PM

Answers

All replies