How to Edit .cec Files Using a Text Editor (Windows CE 5.0)
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
- You have Platform Builder on your development workstation.
- You have read Tutorial: Creating a Feature and Adding It to a Platform.
- You have read How to Add an Application to the Catalog.
- You are familiar with using Platform Builder to build Windows CE-based projects. For more information, see Modifying an OS Design.
- You are familiar with editing sources and dirs files. For more information, see Sources File and Dirs File.
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.
|
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