Hi,
My saga of beginners problems continue. I’ve managed to get the driver to
load and unload properly. Yes I had forgotten to set the unload function
pointer, but i fixed that. Yet I still have queer problem. Here is a
sequence of what I’m doing.
- Load mynulldev.sys …completes succesfully
- Unload mynulldev.sys …completes succesfully
- Start mynulldev.sys …completes succesfully
- Stop mynulldev.sys …completes succesfully
- Start mynulldev.sys …Error : File Not Found (2)
- Unload mynulldev.sys …completes succesfully
- Load mynulldev.sys …completes succesfully
- Start mynulldev.sys …Error : File Not Found (2)
…i.e Problem remains.
I’ve tested out this sequence using my own code and OSRLoader from
www.osr.com. Both yield the same results. Why do subsequent starts fail with
a file not found error?
Thanks for your patience
Rajeev
If it were done when 'tis done, then 'twere well it were done slowly
…but vigorously
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Rajeev,
I do not know that my situation is the same as yours, but I have seen
similar behavior. In a non-WDM, non-PnP driver I created a symbolic link
(IoCreateSymbolicLink) to the device. On unload (net stop )
I had forgotten to delete the symbolic link (IoDeleteSymbolicLink). When
I tried to restart the driver (net start ) I received a file
not found error. Successfully deleting the symbolic link cleared up the
problem.
Hope this helps,
Aaron Stavens
NetMotion Wireless, Inc.
-----Original Message-----
From: Rajeev Rao [mailto:xxxxx@hotmail.com]
Sent: Friday, March 29, 2002 9:22 AM
To: NT Developers Interest List
Subject: [ntdev] starting and stopping
Hi,
My saga of beginners problems continue. I’ve managed to get the driver
to
load and unload properly. Yes I had forgotten to set the unload function
pointer, but i fixed that. Yet I still have queer problem. Here is a
sequence of what I’m doing.
1. Load mynulldev.sys …completes succesfully
2. Unload mynulldev.sys …completes succesfully
3. Start mynulldev.sys …completes succesfully
4. Stop mynulldev.sys …completes succesfully
5. Start mynulldev.sys …Error : File Not Found (2)
6. Unload mynulldev.sys …completes succesfully
7. Load mynulldev.sys …completes succesfully
8. Start mynulldev.sys …Error : File Not Found (2)
…i.e Problem remains.
I’ve tested out this sequence using my own code and OSRLoader from
www.osr.com. Both yield the same results. Why do subsequent starts fail
with
a file not found error?
Thanks for your patience
Rajeev
If it were done when 'tis done, then 'twere well it were done slowly
…but vigorously
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
—
You are currently subscribed to ntdev as: xxxxx@nmwco.com
To unsubscribe send a blank email to %%email.unsub%%