Geeks With Blogs
derekf's blog On C#, repackaging applications, and deploying via group policy... June 2007 Entries
Deleting a 64 bit registry entry from a 32 bit app in C#.
Okay, this may be old hat to some of you, but it took me some time to figure it out and I didn't find much useful when searching. Came across a need to delete a 64 bit registry value from a 32 bit app. The standard registry delete functions would end up deleting it from the Wow6432Node, which was what was not the desired outcome. The code to make it happen is pretty simple, but I've got no error checking in the sample code here: First, the P/Invoke stuff: [DllImport("advapi32.dll")] static extern ......

Posted On Tuesday, June 26, 2007 8:55 PM

Copyright © derekf | Powered by: GeeksWithBlogs.net