Share via


Configuring the Ink Sampler Application

To compile, link, and include the Ink Sampler application in your platform, add the Ink Sampler source files to a Platform Builder project.

To configure the Ink Sampler application

  1. From the File menu, choose New Project or File, and then, on the Projects tab, choose WCE Application.

  2. In the Project name box, type a name for the project, and then, in the Location box, choose the directory for your project.

    By default, Platform Builder stores the project in a directory immediately subordinate to your platform directory. For example, %_WINCEROOT%\Public\<Platform Name>\<Project Name>.

  3. To open the New Project Wizard, choose OK, and then, in step 1 of the wizard, choose an empty project and choose Finish.

  4. In the Workspace window, ensure that the FileView tab is the active pane.

  5. Right-click the Header Files folder, and choose Add Files to Folder.

  6. In the Insert Files into Project window, navigate to %_WINCEROOT%\Public\Common\Oak\Demos\Inksamp, choose Resource.h, and then choose OK.

  7. Right-click the Resource Files folder, and choose Add Files to Folder.

  8. In the Insert Files into Project window, navigate to %_WINCEROOT%\Public\Common\Oak\Demos\Inksamp, choose Inksamp.rc, and then choose OK.

  9. Right-click the Source Files folder, and choose Add Files to Folder.

  10. In the Insert Files into Project window, navigate to %_WINCEROOT%\Public\Common\Oak\Demos\Inksamp, choose Inksamp.cpp, and then choose OK.

  11. After adding all necessary files to your Platform Builder project, in the Workspace window, double-click on Inksamp.cpp to open the file.

  12. To compile and link the Ink Sampler application in Platform Builder, change the #include <resource.h> to #include "resource.h".

See Also

How to Develop an Application for a CEPC | CEPC How-to Topics

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.