Partager via


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

1/6/2010

It is highly recommended that you back up the original Shared Source code and Windows Embedded CE library (.lib) files before you modify them. 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 about 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. In the IDE, from the Build menu, select Open Release Directory in Build Window.

  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

Concepts

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

Other Resources

CeBackup Tool