Microsoft KB Archive/912155

= FIX: Registry keys that are created by using the REG_OPTION_VOLATILE flag may appear as duplicate registry keys after a system reset in Windows CE 5.0 =

Article ID: 912155

Article Last Modified on 7/26/2006

-

APPLIES TO


 * Microsoft Windows CE 5.0

-





SYMPTOMS
In Microsoft Windows CE 5.0, registry keys that are created by using the REG_OPTION_VOLATILE flag may appear as duplicate registry keys after a system reset. This problem only occurs when you use the RAM-based registry. This problem does not occur when you use the hive-based registry.



Software update information
A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 912155. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This update is supported only if all previous updates for this product are also installed.

Restart requirement
After you install this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this update.

Update replacement information
This update does not replace any other updates.

File information
The English version of this package has the file attributes (or later file attributes) that are listed in the following table.

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.



WORKAROUND
To work around this problem, you can switch to the hive-based registry. To maintain the same set of system requirements as the RAM-based registry, you can store the hive-based registry files in the RAM file system.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Starting in Windows CE 5.0, the dwOptions parameter of the RegCreateKeyEx function can be set to the REG_OPTION_VOLATILE flag to specify that a registry key is volatile. Volatile registry keys should be removed automatically before the system restarts.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbqfe kbpubtypekc KB912155

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.