Re: How to unload or reload a WinCE driver

Let me restate what Chris said, but in a different way.

The handle stored in the HKLM\Drivers\Active is undocumented, as such it may
change in the future. So while your code may work in some cases today, it
may also fail in some case (none that I know of personally) and may fail in
the future based on a QFE or new Windows CE version.

So proceed with that at your own risk.

Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.

"Dark Knight" <VaisakhRulez@xxxxxxxxx> wrote in message
On Oct 15, 8:55 am, "Chris Tacke, MVP" <>
Getting that handle and using it is a kludge available only in CE 5.0 and
earlier. You can't use it in 6.0 or later.


Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community

"Dark Knight" <VaisakhRu...@xxxxxxxxx> wrote in message


There is a really good post by bruce eitman in his blog check it out.

If you are not having the device handle, you can obtain it from
registry (Hnd under the Drivers\Active\<instance> key)

Vaisakh P S

Yes it is possible in windows ce 6.0.
What i did was, i took the handle value from registry Active entry,
and used the sample program given by bruce to unload the driver and it
The entry was removed from active list.



Relevant Pages

  • Re: Finding the today screen
    ... Sorry Chris, I mean it's a password application. ... I start my window from VerifyUserwhich displays a fullscreen foreground ... Chris Tacke - Embedded MVP ... Amit Ranjan ...
  • Re: Longtime running requirement in control system
    ... thanks Paul G and Chris, your great supports will help us most. ... think your BSP is or how good you think *you* are, you have to test in order ... Chris Tacke, Embedded MVP ...
  • Re: Pocket PC and Microsoft Access
    ... Thanks again Chris. ... Chris Tacke, Embedded MVP ... Your VB program will also not run on a mobile device, ... using a SQL CE backend database. ...
  • Re: Version Option is Invalid
    ... I do the same as Chris, copying the files to the device. ... Chris Tacke, Embedded MVP ... I've tried re-installing Active Sync even VS 2005 with no ... references to RPC but no direct references to CE ...
  • Re: Millisecond timers during suspend.
    ... I agree with Chris, ... Typically in suspend mode, all processor and peripheral ... Chris Tacke, Embedded MVP ... and i need millisecon resolution. ...