다음을 통해 공유


How to Edit .cec Files Using a Text Editor (Windows CE 5.0)

Send Feedback

Platform Builder builds the Catalog using Catalog item (.cec) files, which contain information necessary to display and build functionality into your OS design.

The Catalog can be extended with additional items by using .cec files to include the new information. When the new Catalog item is added to the Platform Builder Catalog, it is available for use in all future Windows CE-based OS designs created on your development workstation.

For more information about OS design customization, see Catalog Overview.

Hardware and Software Assumptions

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Open an existing OS design or create a new OS design using the New Platform Wizard. Creating an OS Design
2. Create and build a basic application.

The sample Hello World application is an example of an item that can be added to the Catalog.

Creating a Hello World Application
3. Create a .cec file for the new application. Creating a .cec File Using a Text Editor
4. Add a CECInfo block, which describes the .cec file itself.
Note   To create a working .cec file using the code examples in steps 4 through 8, check that each block statement is closed with the appropriate number of terminating parentheses.
Adding a CECInfo Block to a .cec File
5. Add a ComponentType block, which describes the Catalog item you are adding to the Catalog. Adding a ComponentType Block to a .cec File
6. Add an Implementation method block, which defines an instance of a Catalog item. Adding an Implementation Block to a .cec File
7. (Optional) Add a BuildMethod block, which can associate source files, Help documentation files, and user-created files with the selected Catalog item. Adding a BuildMethod Block to a .cec File
8. After the .cec file is complete, save it to the root directory for your OS design; for example, %_WINCEROOT%\PBWorkspaces\MyDesign. Not applicable
9. Add the .cec file to the Catalog using the Platform Builder IDE. Adding a .cec File to the Catalog
10. To verify that your Catalog item has been added to the Catalog, right-click in the Catalog window, choose Find, and type the name of your Catalog item.

If your Catalog item does not appear in the Catalog, right-click in the Catalog window, and choose Refresh Catalog.

Not applicable

See Also

How-to Topics | How to Add an Application to the Catalog

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.