Share via


How to Develop an Application for a CEPC

With Platform Builder, you can develop custom applications and include them in your operating system (OS) image. Typically, you add an application to an OS image toward the end of the platform development process. The features and components in your OS image determine the application programming interfaces (APIs) that you can use in your application.

In order to present a fully functional end-to-end process, the following steps show you how to develop the Ink Sampler application for a CEPC. You can apply the steps, however, to all hardware platforms and applications.

Hardware and Software Assumptions

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

  Step Topic
1. Create a platform.
  • In step 2 of the New Platform Wizard, choose the CEPC: x86 BSP.
  • In step 4 of the New Platform Wizard, choose a configuration that includes the features your application requires. For example, the Ink Sampler application requires a Shell and Graphical User Interface (GUI), so choose a configuration that includes these features.
  • Choose other features for your platform such as Microsoft .NET Compact Framework and complete the New Platform Wizard.
Creating a Platform
2. Build your platform to generate the platform header files and dynamic-link libraries (DLLs). Building a Platform
3. Develop an application using APIs that your platform supports.

In this procedure, you are developing the Ink Sampler Application.

For information about the APIs that your platform supports, see Application Development and view the documentation for the features in your platform.

Configuring the Ink Sampler Application
4. Build the application.
  • In the Workspace window, choose the FileView tab, and then from the Build menu, choose Build MyProject.exe.

    With the Ink Sampler application, MyProject.exe is the name you assigned to the application project.

  • If you are prompted to generate the platform header files, choose Yes.

    Platform Builder automatically prompts you to generate the platform header files if you have not generated the platform header files during the build process.

  • If you receive build errors while building the Ink Sampler application, from the Project menu, choose Settings, and then on the Link tab, in the Object/library modules box, add the Commctrl.lib file.
Not applicable
5. Build the OS image.
  • Before building the OS image, in the Workspace window, choose the FeatureView tab.
Building a Platform
6. Download the OS image. Downloading an OS Image to a Target Device
7. Run the application on the CEPC.
  • From the Platform Builder Target menu, choose Run Programs, choose MyProject.exe, and then choose OK.
  • If the application does not run on the CEPC, open the Release directory on the CEPC to verify the existence of your application. If your application is not in the Release directory, your application was not correctly added to your OS image. Add your application to your OS image again.
Not applicable

See Also

CEPC How-to Topics | Project Creation | .NET Compact Framework Overview

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.