Question about loading driver

Posted: 11-07-2005, 02:12 PM
Hello,

I am creating a kernel mode driver (.sys file). This driver will only
be used for a program I create that uses hardware that will only be in
systems my company creates. My question is how to load the driver.

Does it have to be loaded at power up by placing it in the registery,
or can I dynamically load it when my program starts up?

Thanks.

Mike

Reply With Quote

Responses to "Question about loading driver"

Ajay Agrawal
Guest
Posts: n/a
 
Re: Question about loading driver
Posted: 11-09-2005, 10:54 AM

On Windows XP drivers are installed as Service. So you can load (start) /
unload (stop) driver from commad line using "net start (stop)". You can
alsio write a program to do the same.

Hope it will help.
-Ajay

----------------------------------------------
"Mike" <MikeTheRed@Hotmail.com> wrote in message
news:1131372779.429319.38800@z14g2000cwz.googlegro ups.com...
> Hello,
>
> I am creating a kernel mode driver (.sys file). This driver will only
> be used for a program I create that uses hardware that will only be in
> systems my company creates. My question is how to load the driver.
>
> Does it have to be loaded at power up by placing it in the registery,
> or can I dynamically load it when my program starts up?
>
> Thanks.
>
> Mike
>

Reply With Quote
Pavel A.
Guest
Posts: n/a
 
Re: Question about loading driver
Posted: 11-13-2005, 06:05 PM
Mike,

This newsgroup is obsolete and not monitored by experts.
Please ask driver related questions in
microsoft.public.development.device.drivers

Regards,
--PA


"Ajay Agrawal" wrote:
>
> On Windows XP drivers are installed as Service. So you can load (start) /
> unload (stop) driver from commad line using "net start (stop)". You can
> alsio write a program to do the same.
>
> Hope it will help.
> -Ajay
>
> ----------------------------------------------
> "Mike" <MikeTheRed@Hotmail.com> wrote in message
> news:1131372779.429319.38800@z14g2000cwz.googlegro ups.com...
> > Hello,
> >
> > I am creating a kernel mode driver (.sys file). This driver will only
> > be used for a program I create that uses hardware that will only be in
> > systems my company creates. My question is how to load the driver.
> >
> > Does it have to be loaded at power up by placing it in the registery,
> > or can I dynamically load it when my program starts up?
> >
> > Thanks.
> >
> > Mike
> >
>
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i stop a bad driver from loading MDesigns Windows XP Device Drivers 1 05-26-2004 03:54 PM
loading printer driver using XP hr Windows XP Device Drivers 2 02-09-2004 06:46 PM
Video Driver not loading EJ Windows XP Device Drivers 1 12-23-2003 03:57 PM
16 bit windows driver not loading Diane Windows XP Help & Support 0 10-17-2003 06:41 AM
PS/2 keyboard driver not loading. Stu Windows XP Accessibility 3 09-04-2003 11:23 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90