Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Bug in Registry.GetValue for REG_MULTI_SZ values

$
0
0
Apparently this has been a known issue for years but still is not resolved in SUF 9.5.1.

Specifically I am referring to this operation:

reg = Registry.GetValue(HKLM, "SYSTEM\\CurrentControlSet\\Control\\Session Manager", "PendingFileRenameOperations");

It is easy to reproduce by calling File.DeleteOnReboot twice. The Registry Value looks like this:

\??\c:\mydir\myfile1.dll
-- 4 binary zeros ---
\??\c:\mydir\myfile2.dll
-- 4 binary zeros --
-- 2 binary zeros --

The returned string should look like this:
"\??\c:\mydir\myfile1.dll||\??\c:\mydir\myfile 2.dl l|"

However, it actually looks like this:
"\??\c:\mydir\myfile1.dll"

The problem also exists in Wow64.RegistryGetValue.

Any update on if and when this will be fixed?

Viewing all articles
Browse latest Browse all 2105

Trending Articles