Registering the webcam.dll

Jul 26, 2007 at 3:39 PM

I working on a project using the XA270 Launch Pad, everytime I power up the board I need to tell Windows CE5 the location of the driver, webcam.dll.
I was wandering if there is a registry setting that I could use to tell win CE where the driver is found?

Thanks in advance
Mark Bailey

Aug 13, 2007 at 1:51 PM

I just came up with the same problem. Information on Windows CE 5 loads USB-Drivers can be found here:

The webcam-driver comes with a "webcam.reg"-File (located in the Files-Directory). In there are the necessary registry-entries for the system to find and load the driver for Quickcam pro 5000 and UVC-Devices.

Apparently, if Windows CE asks you for the driver-dll, the USBInstallDriver-Function in USBCode.cpp is called and the driver enters these registry-values itself. In addition, the driver registers itself also for the following cameras:
Logitech QuickCam Fusion
Logitech QuickCam Orbit and
Logitech QuickCam Notebook Pro

Here are the necessary keys for these three cameras:



Aug 14, 2007 at 6:04 PM

I'm new to Windows CE and Platform Builder...

I'm trying to register the driver as Windows CE 5 asks the Driver Name with the Unidentified USB Device dialog box. I'm writing "webcam" without the quotes and when I press OK button nothing happens.

What am I missing?

Aug 14, 2007 at 6:39 PM
And I'm using a D-LINK dsb-c110 webcam... Is this model supported by the driver?

Aug 15, 2007 at 7:01 AM

The driver supports webcams which comply to the USB Video Class (UVC). I don't know, if your camera does. The specs at don't say anything about it. I don't know exactly what happens if you use the driver with a non-UVC camera, but this is how I install the driver for my Logitech Quickcam pro 5000:
When I enter the driver-name (I always entered "webcam.dll", but maybe simply "webcam" works as well) in the Unidentified USB Device dialog box, windows ce either accepts it (the dialog box disappeared) or a window with an error-message appears.
If the dialog box disappears, you can check that the driver has been installed by looking for the above mentioned registry-values (if they are present, the driver is installed).
Also, if the driver is loaded (while the camera is connected), there is an entry under HKEY_LOCAL_MACHINE\Drivers\Active\"highest number" with Name="CAM1:" and Key="Drivers\USB\ClientDrivers\Video_Class".

Now you should be able to test the camera with the camtest2-application.