Including OSCapture in a Run-Time Image (Windows CE 5.0)
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
In the Platform menu, select Settings.
Switch to the Build Options tab.
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.
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.
Click OK.
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