[Issue 1423] New: Registry: corrupted value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 16 06:16:13 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1423
Summary: Registry: corrupted value
Product: D
Version: 1.018
Platform: PC
OS/Version: Windows
Status: NEW
Severity: blocker
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: keystuffs at netscape.net
Sometimes the value returned from the registry in corrupted.
Ex:
writefln(Registry.classesRoot().getKey(".txt").getValue("").value_SZ());
Display "☺ ile" instead of "txtfile".
writefln(Registry.classesRoot().getKey(".rar").getValue("").value_SZ());
Display "☺ AR" instead of "WinRAR".
But:
writefln(Registry.classesRoot().getKey(".html").getValue("").value_SZ());
Display "htmlfile".
I tried others keys and it seems that if the length of the value is less than
8, the value returned is corrupted.
--
More information about the Digitalmars-d-bugs
mailing list