Hi my friends im trying to build an exe which echo installed applications on computer.
This is my code: https://play.nim-lang.org/#ix=3QDN
The part 1 is works fine but, when i add Part 2 im getting an error like "the system cannot find the path specified" [Registryerror]
Note:In part 2 I can see Subkeys of h1 but can't read
Sorry for bad English
I believe Registry Redirection causes this error.
When i try to Read subkey of HKEY_LOCAL_MACHINE h1 = open(HKEY_LOCAL_MACHINE,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", samRead)
#it will actually opens HKEY_LOCAL_MACHINESOFTWAREMicrosoft\WOW6432Node\Windows\CurrentVersion\Uninstall