Partager via


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

1/5/2010

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.

See Also

Concepts

Logging Events Using Pre-Defined Data Types

Other Resources

Logging Your Own CeLog Events