O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CEDRIVER WIZARD

In Platform Builder, there are five types of subprojects that you can create and add to an OS project, as shown in Figure 33-4.

When you select one and give it a name, you run through a wizard to cover options relevant to that project. It would be useful if there was also a stream driver sub project type as a sixth option. It would cover options such as:

  • Driver name
  • Driver prefix
  • Kernel mode, user mode, or both
  • Inbuilt, dynamic, or both
  • IOCTLs
  • Use Retail and/or Debug Messages
  • Driver metadata such as Vendor
  • Create a Catalog file
  • SYSGEN variable name

It is also be useful if there are some test applications automatically generated specifically for the stream to test:

  • That the driver loaded
  • Adding registry setting for dynamic loading of driver
  • Dynamically loading the driver
  • Read/Write I/O
  • IOCTL I/O
  • Unload the driver

CEDriverWiz was created to do all this and is on Codeplex as a zipped-up installer:

http://CEDriverWiz.codeplex.com

It plugs into Visual Studio via the Tools menu. Setup instructions are on the web site and contained in the zip file. When installing for Visual Studio 2008 and Compact 7, you have the option to set up the wizard to be listed on the External Tools menu or as a Platform Builder script. The latter is the preferred option.

Although the functionality is the same for a Compact 7 developer, the Platform Builder script was an easier ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required