Re: How to unload or reload a WinCE driver



On Oct 15, 8:55 am, "Chris Tacke, MVP" <ctacke.at.opennetcf.dot.com>
wrote:
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 communityhttp://community.OpenNETCF.com

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

news:0b95d112-05ad-4f26-9810-4c995235471b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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

http://geekswithblogs.net/BruceEitman/archive/2008/07/14/windows-ce-l...

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

Regards
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
worked.
The entry was removed from active list.

Regards,
.



Relevant Pages

  • Re: Using .reg file to import and export registry modifications ?
    ... Chris Tacke, Embedded MVP ... Some persons have already done this but it's not a free solution. ... Have you ever seen a free solution about reg file import please? ... enter the items into the registry. ...
    (microsoft.public.windowsce.embedded)
  • Re: CeRegistry OpenNetCF
    ... Can you view the registry info with the Remote Registry Viewer? ... Chris Tacke, Embedded MVP ... {"Error retrieving registry properties"}...i tried with and emulator, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Adding sqlce 3.5 to windows CE 5 image
    ... I did the whole registry shuffling thing, and the only "relevant" change was ... the InstallDir and the registration of the .NET dll ... Chris Tacke, Embedded MVP ... I've added the CAB file ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CeRegistry OpenNetCF
    ... of a RAPI object, a call to Connectand, after the registry stuff is done, ... Chris Tacke, Embedded MVP ... i look into i see the error: {"Error retrieving registry properties"} ...
    (microsoft.public.dotnet.framework.compactframework)