Building a Device Driver in the IDE
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
- From the Workspace window, choose the FeatureView tab.
- Right-click the Platform icon, and then choose Settings.
- or -
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.
- To build the entire platform, including the driver, on the FeatureView tab of the Workspace window, select the platform name, and then, from the Build menu, choose Build Platform.
- or -
To build all project files for your driver, on the FileView tab of the Workspace window, select <filename>.dll, and then, from the Build menu, choose Build <filename>.dll.
If you choose this approach, you may have to provide header and library (.lib) files.
- 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 window, you have successfully built your driver from the IDE.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.