gersonkurz / regdiff

Automatically exported from code.google.com/p/regdiff
34 stars 15 forks source link

regis3.RegValueEntry.WriteRegFileFormat(...) fix for Kind == RegValue… #6

Closed conductor111 closed 2 years ago

conductor111 commented 2 years ago

…EntryKind.DWord case.

Without this fix, an invalid cast exception will occur when writing the output file. For example, for a case like: [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCI\VEN_8086&DEV_100E&SUBSYS_001E8086&REV_02\3&267a616a&0&18\Device Parameters\Interrupt Management\Routing Info] "Flags"=hex(4):02

gersonkurz commented 2 years ago

Makes sense.