Building a Device Driver in the IDE (Windows CE 5.0)
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
In the Workspace window, choose the OSDesignView tab.
From the Platform menu, choose Settings.
Choose the Environment tab, and then choose New.
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.
To set your environment variable values, choose OK.
To close the Platform Settings window, choose OK.
On the Build OS menu, select Copy Files to Release Directory After Build and Make Run-Time Image After Build.
To build a run-time image that includes the driver, from the Build OS menu, choose Sysgen.
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