I have an 32-bit application that reads the registry and looks for a value in HKEY_LOCAL_MACHINE\Software\MyApp\ but when running on 64-bit versions of windows, the value is under HKEY_LOCAL_MACHINE\Software\Wow6432Node\MyApp. But my application still looks for a value in HKEY_LOCAL_MACHINE\Software\MyApp\
I am using com.zerog.ia.api.pub.SimpleRegistryManager api for registry manipulation This class used to access the Win32 system Registry.
In ref of MSDN, The KEY_WOW64_32KEY flag is uses to access a 32-bit key from either a 32-bit or 64-bit application. https://msdn.microsoft.com/en-us/library/windows/desktop/aa384129(v=vs.85).aspx
So is any way to enable or disable KEY_WOW64_32KEY flag using Java api