I have posted a new release of the Simple Little Registry Editor found in Windows CE: Simple Little Registry Editor

This release fixes a problem with writing DWORD values when the most significant bit is set.  The application uses RegistryKey.SetValue.  There seems to be a problem with how the .NET CompactFramework (and the full framework) handle the second argument during the call which causes an exception.

So the following does not work:

RegistryKey.SetValue( "TestValue", 0xFFFFFFFF, RegistryValueKind.DWord );

But, this does:

RegistryKey.SetValue( "TestValue",unchecked((int) 0xFFFFFFFF), RegistryValueKind.DWord );

Copyright © 2012 – Bruce Eitman
All Rights Reserved