Troubleshooting: Loading a Driver (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The following table shows descriptions and resolutions of problems you may encounter while your driver loads.

DescriptionResolution
Your driver does not load.Verify the registry keys under the HKEY_LOCAL_MACHINE registry subkey.
You are developing a PC Card driver, you have verified the settings under the HKEY_LOCAL_MACHINE registry subkey, and your driver does not load.Step through the PC Card source code and verify that the Plug and Play identifier read correctly. Because Windows CE is an embedded, real-time OS, when the PC Card signals that it is ready, there is not as much time for initialization as a PC Card on a Windows-based desktop platform. On Windows CE, if the PC Card signals that it is ready for initialization, the OS assumes that it is ready. The initialization time varies from one PC Card to another. On a Windows-based desktop platform, this is not a problem because there is extra time allowed for initialization. On Windows CE, this lack of extra time can prevent the OS from initializing the correct driver.
Your driver loads correctly, and then immediately unloads.Ensure that your DriverEntry and DllMain functions are exported in the .def file for your driver.

See Also

Troubleshooting a Device Driver | How-to Topics


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: