Customizing an Application for a Specific Platform

The Windows CE Configuration Manager makes it easy for you to customize your project for any Windows CE-based platform. When you enter information about your project on the Configuration toolbar, the Configuration Manager automatically updates your directory paths, preprocessor commands, and linker settings.

    To use the Configuration toolbar

  1. Choose Customize on the Visual Studio Tools menu.
  2. Choose the Toolbars tab in the Customize dialog box.
  3. Select the WCE Configuration check box if it is unchecked. After you select the check box, the following Configuration toolbar appears. If the check box is already checked, the toolbar automatically appears on your screen.

  1. Select your target application, platform, processor, and device in the toolbar’s drop-down list boxes.

When you change information on the Configuration toolbar, the Configuration Manager automatically updates the paths to the appropriate executable files, including library and source directories. If your directories are not in the default locations specified by the Configuration Manager, you can change your project directories.

    To change your project directories

  1. Choose Options on the Visual Studio Tools menu.
  2. Choose the Directories tab in the Options dialog box. The following screen shot shows the Directories dialog box.

  1. In the drop-down list boxes of the dialog box, select your configuration, target platform, and the directory type you want to modify. You can modify directories for your executable, library, header, or source files.
  2. Select the directory you want to change.
  3. Type the new directory path.

    – Or –

    Choose the directory, and then choose the ellipsis button (). Choosing the ellipsis button opens a Choose Directory dialog box. Use the dialog box to browse through the list of files until you locate the directory you want to substitute for the currently selected directory, and then choose OK.

When you use the Configuration toolbar, the Configuration Manager not only updates the directory paths, it also updates the project settings. It selects a debugger and compiler and changes the preprocessor macro definitions and linker settings. Flags and options default automatically for debug and release versions for each target platform.

    To view or modify the project settings

  General MIDL
  Debug Browse info
  C/C++ Custom build
  Link Prelink step
  Resources Post-build step