2008-11-22, 09:03 AM
I've just found out that a 32bit app installed on a 64bit platform has its registry entries stored in a Wow6432node subkey. As a result, when gbpvr is installed on Vista x64, HKLM\Software\devnz doesn't exist (as far as I can tell).
The dvbt radio service can't use the IPluginHelper to get the install directory so I'm currently using......but this obviously fails on Vista x64.
It seems I can use RegOpenKeyEx and pass flags which should allow the registry redirector to find the key but I can't find a .NET equivalent for RegOpenKeyEx.
Anyone know if there's something buried in a ,NET class library I haven't found yet or do I need to do a DllImport on this (yuck)?
Cheers,
Brian
The dvbt radio service can't use the IPluginHelper to get the install directory so I'm currently using...
Code:
RegistryKey GBKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\devnz");
It seems I can use RegOpenKeyEx and pass flags which should allow the registry redirector to find the key but I can't find a .NET equivalent for RegOpenKeyEx.
Anyone know if there's something buried in a ,NET class library I haven't found yet or do I need to do a DllImport on this (yuck)?
Cheers,
Brian