-
Read the %DDKROOT%\SRC\NETWORK\NDIS\NETVMINI\README.HTM. It could not
be more clear, concise, or correct on how to load and test the driver. It
works, just the way it says.
-
Ditto %DDKROOT%\SRC\NETWORK\NDIS\NDISPROT\5x\README.HTM.
Does anyone know of issues that stock sample drivers have which would cause
them not to load?
Yes, failure to perform steps (1) & (2).
Since you neither:
A) told us how you were expecting the driver(s) to ‘load’
-nor-
B) explained how you actually attempted to get them to load and what spit
out error 1058
it is not likely that you are going to get an answer. There are very few
clairvoyant people on this list (I clearly am not one of them).
And really, the samples work just fine. Read the README files with them.
Ripping out lines of code like the AddDevice() handler would indicate that
you don’t quite have a complete understanding of how the thing works to
begin with. I recommend you get that far with how they are originally
written before attempting to modify them.
Good Luck,
-dave
David R. Cattley
Consulting Engineer
Systems Software Development
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@aol.com
Sent: Tuesday, November 06, 2007 12:53 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] netvmini sample issues
I am attempting to play with the stock sample that comes with the ddk/wdk
and having a few issues. When I attempt to load the driver, I get an error
(1058) and it immediately unloads.
I have attempted to resolve this error by creating a device
(NdisMRegisterDevice), nothing I have tried has worked. Does anyone know of
issues that stock sample drivers have which would cause them not to load?
I also had a similar issue with ndisprot, which I fixed by removing the
addition of AddDevice() from the dispatch function list. I don’t see
anything like that in netvmini however, and wonder if the stock sample is
missing something that then causes the ndis wrapper to immediately unload
it.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer