Re: Dynamically loading drivers for debug
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 10:13:48 -0500
While you wait, you could write you own tool. ToolHelpAPI gives you apis
for enumerating the loaded drivers, and ActivateDeviceEx() can load your
driver.
Other than the wiki page, I don't see devmgrtool as being anything but a
Microsoft internal tool.
--
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:2F9AF050-5D39-41CD-963D-A529484A337C@xxxxxxxxxxxxxxxx
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-
.
- Follow-Ups:
- Re: Dynamically loading drivers for debug
- From: Viral Mehta
- Re: Dynamically loading drivers for debug
- References:
- Re: Dynamically loading drivers for debug
- From: Bruce Eitman [eMVP]
- Re: Dynamically loading drivers for debug
- From: Atlantex
- Re: Dynamically loading drivers for debug
- Prev by Date: Re: Boot problem with different Hard Disk on GeodeLx 800
- Next by Date: Re: about clock register setting
- Previous by thread: Re: Dynamically loading drivers for debug
- Next by thread: Re: Dynamically loading drivers for debug
- Index(es):
Relevant Pages
|