PRB: Windows CE Debug Build Reports Several InitObj Errors (264269)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 2.11
  • Microsoft Windows CE Platform Builder 2.12
  • Microsoft Windows CE Platform Builder 3.0

This article was previously published under Q264269

SYMPTOMS

When a debug build of the Microsoft Windows CE operating system initializes, numerous error messages, such as the following, are reported in the debug output from the Windows CE device:
Initobj : Error, continuing...

CAUSE

The InitObj.dat file contains lines that contain invalid InitObj commands. Starting with the Platform Builder 2.12 release, the .dat files contain blocks of instructions that are marked with CESYSGEN filter tags. After the CESYSGEN filter process, the tags remain in the file, and these tags generate the error messages on filesystem initialization.

The error messages appear in any version of Windows CE, depending on the contents of the .dat files. However, the error messages are more numerous in the Platform Builder version 2.12, or later, than in prior releases.

RESOLUTION

The error messages are benign and can safely be ignored. To prevent the error messages from occurring, you can edit all of the .dat files that are involved in the platform to hard-code the desired InitObj instructions rather than allow the CESYSGEN process to filter them dynamically at build time.

STATUS

This behavior is by design.

MORE INFORMATION

At system startup, the Windows CE filesystem locates and parses the InitObj.dat file to place default objects into the object store. The InitObj.dat file is created during the ROM image construction from the contents of the Common.dat, Platform.dat, Project.dat and other .dat files from dependent projects.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbprb KB264269