Building a Device Driver from the Command Line (Windows CE 5.0)

Send Feedback

From the Platform Builder command line, you can build a device driver as a part of the larger process of creating a driver for use with the Windows CE operating system (OS). For information about building a device driver in the integrated development environment (IDE), see Building a Device Driver in the IDE.

To build a device driver from the command line

  1. From the Build OS menu in the IDE, choose Open Release Directory.

  2. Navigate to the location of your device driver.

  3. Type sysgen and press ENTER.

    Wait a few minutes for the Sysgen phase to finish. For more information, see Build Phases and Sysgen Tool.

  4. Type build -c and press ENTER to build your driver.

    For more information about Build tool options, see Build Tool.

If your driver builds with zero errors, you have successfully built your device driver. If errors occur in the build process, you must debug the source code for your driver. For more information, see How to Debug a Device Driver.

See Also

How to Create a Device Driver | How to Add Power Management to a Device Driver | Command-Line Tools

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.