Attempting to perform a simple registry entry task to launch a C # application at startup.
Using the basic setup of Win32.RegistryKey , but for some reason it continues to add my keys to the /SOFTWARE/WOW6432/Microsoft/Windows.. etc directory instead of just ol /SOFTWARE/Microsoft/Windows..
I tried to read a little, but there was no simple answer to this question: How do I specifically write the key to /SOFTWARE/Microsoft/Windows Registry Key instead of writing in WOW6432 ? I checked to make sure the Visual C # Express solution file has the platform specified as x86 ... so it compiles correctly ... I just don't want the WOW6432 directory.
Thanks for any advice!
Edit:
Now I use the following and still have not succeeded:
Microsoft.Win32.RegistryKey localKey32 = Microsoft.Win32.RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive.LocalMachine, Microsoft.Win32.RegistryView.Registry64);
source share