次の方法で共有


Considerations for Registry Use (Windows Embedded CE 6.0)

1/6/2010

For Windows Embedded 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

Concepts

Registry Fundamentals

Other Resources

Registry
Registry Overview