Adding Run-Time Files to a Platform

With Platform Builder, you can add run-time files to a platform. You must have already created a platform in order to add run-time files to your platform.

To add run-time files to a platform

  1. Choose the FeatureView tab on the Workspace window, and then click the root node to expand the list of the features in the platform.

  2. If the Catalog is not open, choose Catalog from the View menu.

    - or -

    Click the Catalog button on the Standard toolbar.

  3. Click to expand Core OS.

  4. Right-click an implementation in the Catalog, and then select Add to Platform to add the feature to the platform.

    - or -

    Drag an implementation from the Catalog and drop it in the FeatureView window.

    **Note   **If you include the debug configuration of a dynamic-link library (.dll) file, copy the .dll file and the corresponding program database (.pdb) file to the %_WINCEROOT%\Public\<Platform Name>\Wince420\<BSP>\Cesysgen\Oak\Target\%_TGTCPU%\Debug directory.

    If you include the release configuration of a .dll file, copy the .dll and the release configuration of the corresponding .pdb file to the %_WINCEROOT%\Public\<Platform Name>\Wince420\<BSP>\Cesysgen\Oak\Target\%_TGTCPU%\Release directory.

    When the Build Release Directory tool (Buildrel.bat) is run, the .dll and .pdb files are copied to %_FLATRELEASEDIR%.

  5. Right-click the newly added feature, and then choose Settings.

  6. To see the custom build setting for the feature, choose Release Copy in the Build Step box in the Platform Settings dialog box.

    This setting ensures that the necessary binary files are copied to your release directory, and that the required .bib, .reg, .dat, and .db entries are merged into the Project.bib file in your release directory.

  7. To close the Platform Settings dialog box, choose OK.

See Also

How to Use the IDE to Create, Customize, and Build a Platform | Run-time File Additions to a Platform | Object Icon Types

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.