Freigeben über


Hints for Using the Registry (Windows CE 5.0)

Send Feedback

For Windows CE development, memory usage is an important consideration and the registry is no exception. The following guidelines are based on the fact that it takes less memory to store a value than to store a key:

  • Keep your key depth as shallow as possible. Eliminate unnecessary subkeys.
  • When possible, replace subkeys with values. For example, a subkey Colors might be replaced with a value named Colors.
  • Store as much information in one value as possible. For example, a date value could be formatted to include the time rather than using two values.

See Also

Registry Fundamentals | Protected Registry Keys and Values | Registry

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.