http://bugs.winehq.org/show_bug.cgi?id=9314
Summary: Borland C++ Builder 5 expects registry values to be read in the same order they were written Product: Wine Version: 0.9.43. Platform: PC-x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wine-advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
Created an attachment (id=7584) --> (http://bugs.winehq.org/attachment.cgi?id=7584) test
It arranges the component palettes in the same order in which it read the values from the registry (even if MSDN exlicitly says not to rely on the order in which the values are read). We store the values in the alphabetical order to binsearch them so the palettes under Wine are in alphabetical order instead of the configured order.
I attach a small test showing that under Windows the values are read in the same order as they were written.