Driver Unload Query

Hi All,

I have written a kernel mode driver, which gets loaded under other drivers
group.

I am handling DriverUnload, in which I am deleting the symbolic link name
and deleting the device object. But If I change my driver code and compile
and replace the .sys file the changes are not getting updated. They are
getting updated after I restart the system.

Is there any way to avoaid restarting of system. I am doing it on Windows
2000.

Any information is helpful.

Thanks,
Kedar.

Hi,
Is it a filter driver(or say driver without any physical device)?

Regards,
Dev

-----Original Message-----
From: Kedar [mailto:xxxxx@hotmail.com]
Sent: Tuesday, April 06, 2004 5:14 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Driver Unload Query

Hi All,

I have written a kernel mode driver, which gets loaded under other drivers
group.

I am handling DriverUnload, in which I am deleting the symbolic link name
and deleting the device object. But If I change my driver code and compile
and replace the .sys file the changes are not getting updated. They are
getting updated after I restart the system.

Is there any way to avoaid restarting of system. I am doing it on Windows
2000.

Any information is helpful.

Thanks,
Kedar.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: Dsingh@in.safenet-inc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The driver is a driver with out physical device and not a filter driver too.

Regards,
Kedar.
“Kedar” wrote in message news:xxxxx@ntdev…
> Hi All,
>
> I have written a kernel mode driver, which gets loaded under other drivers
> group.
>
> I am handling DriverUnload, in which I am deleting the symbolic link name
> and deleting the device object. But If I change my driver code and compile
> and replace the .sys file the changes are not getting updated. They are
> getting updated after I restart the system.
>
> Is there any way to avoaid restarting of system. I am doing it on Windows
> 2000.
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>

When are you calling unload then, i.e. is there any mean you are sending
unload event to the driver.
Your problem is actually the driver is not getting unload and not reloading
with new binary. Make is unload and reload, that all.

Regards,
Dev

-----Original Message-----
From: Kedar [mailto:xxxxx@hotmail.com]
Sent: Tuesday, April 06, 2004 6:57 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Driver Unload Query

The driver is a driver with out physical device and not a filter driver too.

Regards,
Kedar.
“Kedar” wrote in message news:xxxxx@ntdev…
> Hi All,
>
> I have written a kernel mode driver, which gets loaded under other drivers
> group.
>
> I am handling DriverUnload, in which I am deleting the symbolic link name
> and deleting the device object. But If I change my driver code and compile
> and replace the .sys file the changes are not getting updated. They are
> getting updated after I restart the system.
>
> Is there any way to avoaid restarting of system. I am doing it on Windows
> 2000.
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: Dsingh@in.safenet-inc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

For your debugging, you can take your original load group and order saved,
then
take your driver ( basically unregister) from the load group, and create
simple registry
entries so that you can do net start , net stop to load and unload on demand
for your testing.

The grouping and load orders are for having certain state at certain point
in time of the systems
start ( for example driver to driver communication etc.) …

-prokash

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Kedar
Sent: Tuesday, April 06, 2004 6:27 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Driver Unload Query

The driver is a driver with out physical device and not a filter driver too.

Regards,
Kedar.
“Kedar” wrote in message news:xxxxx@ntdev…
> Hi All,
>
> I have written a kernel mode driver, which gets loaded under other drivers
> group.
>
> I am handling DriverUnload, in which I am deleting the symbolic link name
> and deleting the device object. But If I change my driver code and compile
> and replace the .sys file the changes are not getting updated. They are
> getting updated after I restart the system.
>
> Is there any way to avoaid restarting of system. I am doing it on Windows
> 2000.
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@garlic.com
To unsubscribe send a blank email to xxxxx@lists.osr.com