I have Delphi XE4 installed on a machine running Windows 7, 64 bit. I was trying to traverse the following two registry keys:
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
I wrote a simple program that traverses all the subkeys within each of the above registry keys. When I set the target system to be 32Bit, XE4 ignores registry key #1 and gives me the information from registry key #2 instead. When I set the target system to be 64Bit, XE4 recognizes both registry keys as separate and distinct and returns two different sets of data.
Why does XE4 ignore registry key #1 and substitute key #2 instead when the target system is set to 32Bit? Is there a way to read key #1 when targeting a 32Bit system?
This makes me think there are other registry keys that XE4-32Bit performs some hidden substitute on.
Program Files
redirection – Sir Rufo