Re: Dynamically loading drivers for debug



Bruce,

Thanks for the feedback. This method seems like it would work, but it
sounds like it would require rebooting the device to unload the driver. In
some debugging scenarios, because of the nature of the device, I may not have
physical access to the device. So the devmgrtool seems like a handy thing to
have, if I could only find it.

Thanks again,

-JB-

"Bruce Eitman [eMVP]" wrote:

You can also use KITL and the CE Shell to debug your driver. When doing so,
you can exclude the driver from the OS. When the dll is required, it will
be found in the \Release folder which maps back to your PC and the
_FLATRELEASEDIR.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Atlantex" <Atlantex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3CB783D4-AE0B-4407-BC11-38E5DA7BCFAE@xxxxxxxxxxxxxxxx
I'm starting work on developing some user-mode device drivers, as well as
a
service. I'd like to avoid having to download the whole 25 meg. image
every
time we change one line of code in the driver. Ideally, we'd like to be
able
to have our base CE image installed in flash on the device, boot the
device
up, fire up Visual Studio with a non-PB project, and then deploy and debug
our test app and driver & service DLL's.

I've seen some posts that refer to loading drivers and services on the fly
with ActivateDevceEx and ActivateServiceEx. Is this the right way to go?
Or
is there a better/easier way?

Any help that points us in the right direction would be greatly
appreciated.

Thanks,

-John-



.



Relevant Pages

  • Re: "No .rel file found for module "
    ... Bruce Eitman (eMVP) ... beitman AT applieddata DOT net ... different BSP and trying to integrate a driver from freescale. ... I thought maybe it was the registry data too, ...
    (microsoft.public.windowsce.app.development)
  • Re: PCCARD driver question
    ... beitman AT applieddata DOT net ... Applied Data Systems ... What I understand from this is that the device.exe first loads a driver ...
    (microsoft.public.windowsce.embedded)
  • Re: Problem to load Stream Drivers in release configuration
    ... The DLL was not on the device because of an error in the ... beitman AT applieddata DOT net ... An ISO 9001:2000 Registered Company ... What kind of variables could bring the driver to fail? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: ERROR_FILE_NOT_FOUND when call to CreateFile at ddk_dma.c ..
    ... beitman AT applieddata DOT net ... An ISO 9001:2000 Registered Company ... My driver "ftdmac.dll" is loaded and initialized successfully. ... (The first parameter of CreateFile function, ...
    (microsoft.public.windowsce.embedded)
  • Re: Can not load display driver (SMI Voyager Family)
    ... beitman AT applieddata DOT net ... Applied Data Systems ... JIT debugging requested, waiting for OEM selection ... Unfortunately there are no sources for the driver, ...
    (microsoft.public.windowsce.platbuilder)

Loading