This topic has not yet been rated - Rate this topic

Creating a Backup of the Source Code Files

Other versions of this page are also available for the following:
Windows Mobile Not SupportedWindows Embedded CE Supported
8/27/2008

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.

    Aa910207.note(en-US,WinEmbedded.60).gifNote:
    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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ