- surpriseremove test error
- Posted by steven on August 2nd, 2003
My driver is for usb device. I try to test
surpriseremove. HCT simulates unpluging device. My driver
steps into PnpSurpriseRemove, PnpRemove and Unload
routine. Whwn HCT try to "insert" device, the device
manager shows :"Windows cannot load the device driver for
this hardware because a previous instance of the device
driver is still in memory. (Code 38)". Why?
I've never seen this error when using this driver before.
- Posted by Mark Roddy on August 2nd, 2003
On Sat, 2 Aug 2003 00:48:58 -0700, "steven" <stevenl2003@hotmail.com>
wrote:
It sounds like you have not deallocated all referenced resources. You
should run driver verifier while you are executing this test, as it
may uncover the problem for you. Otherwise you need to use your system
debugger to probe the state of all device objects, devnodes, irps,
etc. associated with your driver and device object.
=====================
Mark Roddy
Windows XP/2000/NT Consulting, Microsoft DDK MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
For Windows Device Driver Training: see www.azius.com
- Window Logo Test Error? (Microsoft Windows) by MaxwellKempf
- Site test for mac error (Graphics & Designing) by Antonis
- separating test data from test code + creating skeleton unit test classes (Programming) by QA Guy
- Error access denied when run Microsoft Application Center Test. (Computers & Technology) by Kc_cK
- Error Correction (WAS: Utility to test IDE cable connections?) (Computer Hardware) by CBFalconer

