Compartilhar via


Including OSCapture in a Run-Time Image (Windows CE 5.0)

Send Feedback

You can create a run-time image that automatically starts OSCapture during boot by setting two environment variables before you build. It is also possible to set them via the command line in a build window. OSCapture will run in the background, managing the data in the CeLog RAM buffer, until you trigger it to store the buffered data into a log file.

To enable OSCapture from Platform Builder

  1. In the Platform menu, select Settings.

  2. Switch to the Build Options tab.

  3. Make sure Enable Event Tracking During Boot (IMGCELOGENABLE=1) is checked.

    This adds CeLog.dll to ROM and causes the kernel to load it during boot.

  4. Make sure Buffer tracked events in RAM (IMGOSCAPTURE=1) is checked. This adds OSCapture.exe to ROM and causes the OS to launch it during boot.

  5. Click OK.

  6. Build the run-time image.

For more information, see Building and Downloading a Run-Time Image.

See Also

Enabling CeLog Event Tracking in a Run-Time Image

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.