Wehn you compile to 32 bit on a 64 bit OS, when the key will be created in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ node. However, the app that creates it should be able to read it back, even if you can't find it where you expected to in RegEdit.exe