On Tue, May 31, 2011 at 09:03:15AM -0400, Alex Ionescu wrote:
Hi!
I'm one of the main authors of ReactOS' registry code in the kernel.
Although ReactOS uses a very compatible version of the Cm library which handles the higher-order registry functionality, it uses a customized version of the Hive Library (Hv) which is incompatible with the Windows one on many factors, including the one you mentioned (as well as incorrectly sorting the keys -- you must not be relying on that functionality).
Yes, IIRC we do rely on the sorting of keys as well .. I will have to check that.
A good GSoC project would've been for someone to rewrite the Hv code and/or fix it.
I've checked out the code from SVN now and I'll take a look if there are any easy fixes, particularly this issue.
hivex can read and write hives and it's got to the stage where it's very reliable (at least for reading and small writes), so it may be a useful reference for potential GSoC coders.
Rich.