Microsoft Windows CE 3.0  

Static Data Blocks

This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The static data block is a block of memory that Windows CE loads with an application. This block contains strings, buffers, and other static values that the application references throughout the life of the application. Windows CE allocates two sections for static data: one for read/write data and one for read-only data. Because the operating system allocates these areas on a per page basis, typically there is some space left over from the static data up to the next page boundary. When writing an application for a Windows CE-based platform, you should make sure that little or no extra space is left over. Sometimes it is better to move a buffer or two into the static data area instead of allocating those buffers dynamically if there is space in the static data area.

 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.