Using Macros to Improve Performance in Ship Builds (Windows CE 5.0)

Send Feedback

To minimize the size of your executable, and improve performance in ship builds, remove CeLogData and CeLogMsg calls from the build with CeLog macros. For example, macros such as CELOGDATA and RETAILCELOGMSG call CeLogData and CeLogMsg only for Retail or Debug run-time images. If you build a run-time image with the WINCESHIP environment variable set, the macros do not make CeLog calls.

For more information about CeLog macros, see CeLog Event Tracking Macros.

For more information about different environment variables for building run-time images, see Build Configurations.

See Also

Logging Events Using Pre-Defined Data Types

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.