[Haskell-cafe] Same code, system, but different arch using Win32 for reading registry.
makos999 at gmail.com
Mon Apr 10 18:09:43 UTC 2017
On 04/07/2017 05:08 PM, Arjen wrote:
>> That would be fine, however the key does exists. When same code, same
>> system, but the .exe built to be x64 it runs like a charm.
> 32bit and 64bit Windows executables read different keys using the same
> registry path. The 64bit executable can read keys from the 32bit part
> of the registry, but is has to use the WOW6432Node path.
> Maybe this will help:https://support.microsoft.com/en-us/help/305097/h
That's okay: for other reasons also related to registry reading I need
to deal with it.
The interesting thing is really, the registry-key which I wish to read
exists on the system and the key is the same on x86 and x64.
The key must be related to /getSystemInfo :: IO SYSTEM_INFO.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe