Compartir a través de


Creating a Backup of the Source Code Files (Windows CE 5.0)

The terms of your license agreement might not permit you to release a product with Microsoft source code. For this reason, before creating an OS design containing the Microsoft source code you have modified, you must back up the original source code and Windows CE library (.lib) files.

To help accomplish this, Platform Builder includes a command-line tool called CeBackup, which searches the directory tree of your OS design for .lib files and copies them to a backup directory.

For information on CeBackup syntax, see CeBackup Tool.

To create a backup of the original source code files

  1. Select the directory containing the files you want to modify.

  2. Copy the selected directory to another directory to act as a backup copy.

    Note   If you change source code files in %_WINCEROOT%\Private you must also back them up. This ensures that when you restore the original source code files to their respective binaries, your symbols and binaries match.

To create a backup of the original .lib files using CeBackup

  1. From the Build OS menu in the IDE, select Open Release Directory.
  2. From the command prompt, type the following command.
    cebackup backup

This backs up all .lib files in %_WINCEROOT%\Public and its subfolders.

See Also

Using Shared Source Code in an OS Design| CeBackup Tool | Restoring the Original Binary Files

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.