.net - Registry.LocalMachine.OpenSubKey failing intermittently -
i have code ( winforms app .net 2.0 ) registrykey regkey=registry.localmachine.opensubkey@"software\cpaperless\ttc\settings", false);
this code failing every once in while on win7 , vista when uac on ( failing mean key null.) note key existing , can see in registry furthermore part of product uses same key in hklm code in c++ , works every time
long lretval = regopenkeyex(hkey_local_machine, "software\cpaperless\ttc\settings", 0, key_read, &hkeyttc_lm);
what going wrong here. has seen behaviour before
tia
possible registry virtualization issue?
Comments
Post a Comment