Share via


Building a Device Driver in the IDE (Windows CE 5.0)

Send Feedback

In the Platform Builder integrated development environment (IDE), 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 from the command line, see Building a Device Driver from the Command Line. You can build your driver after you create the necessary code for your driver to correctly interact with your target device and the Windows CE OS.

To build a device driver in the IDE

  1. In the Workspace window, choose the OSDesignView tab.

  2. From the Platform menu, choose Settings.

  3. Choose the Environment tab, and then choose New.

  4. In the Variable Name box, type WINCEOEM, and then, in the Variable Value box, type 1.

    When you complete this step, you include the paths for the driver development kit (DDK) and Oak header files in the build.

  5. To set your environment variable values, choose OK.

  6. To close the Platform Settings window, choose OK.

  7. On the Build OS menu, select Copy Files to Release Directory After Build and Make Run-Time Image After Build.

  8. To build a run-time image that includes the driver, from the Build OS menu, choose Sysgen.

  9. After the build process has completed, verify that your driver has built successfully by confirming that no error messages appear in the Build window.

If no error messages appear in the Build tab of the Output window, you have successfully built your driver from the IDE.

See Also

How to Create a Device Driver | Developing a Device Driver | Driver Development Overview | Setting or Clearing an Environment Variable | Build System | How to Add Power Management to a Device Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.