Page 1 of 1

driver for sub-20

Posted: Mon Sep 12, 2011 10:23 am
by elenrill
Hello, folk!
Stupid me need help. I try to do a simple driver for sub-20. But if i call any function from sub20.lib , my driver do not setup correctly. In drivers i'm absolutly nub, so don't push me too hard.
So, how it make clever people?

with regards and hope,
Elenrill

Re: driver for sub-20

Posted: Mon Sep 12, 2011 4:11 pm
by xol
HI,
What do you mean by driver? Are you in kernel space? What operating system are you on?

Re: driver for sub-20

Posted: Tue Sep 13, 2011 1:00 pm
by elenrill
Hi, xol!
OS- Windows XP
driver - file maked by DDK with .sys and TARGETTYPE=DRIVER. It must be in kernel mode

With hole
elenrill

Re: driver for sub-20

Posted: Tue Sep 13, 2011 4:09 pm
by xol
OK,
I see you are really stupid in it.
Writing drivers is a top of programmers science. You have to be a very experience one to beg to touch driver source code. Considering what you have done, it's not for you at least for the nearest 5-10 years.
Besides you do not need it as SUB-20 is supplied with it's own driver ;-).
What is your final target?

Re: driver for sub-20

Posted: Wed Sep 14, 2011 5:13 am
by elenrill
final target - wireshark must work with sub20 as net device.
so i need driver of fake device that will be seems in wireshark (already done). but wireshark seems detected devices's driver by miniport side, but sneef datastreems by protocol side. so i need one more driver for that side. this second driver on mitiport side must be net device. and on other side -send/deceive data to native sub20 driver. as i npw it's sub20.dll from windows\system32\drivers\ isn't it?
And stupid me can't export functions from sub20.dll. tell me the truth - sub20.dll not for kernel mode?

Re: driver for sub-20

Posted: Wed Sep 14, 2011 5:45 am
by elenrill
OOPS!
If i have no dirrect access to hardware, i no need kernel mode driver!
So i can write user-mode driver, that may be correctly work rith sud20.dll or with sub.lib. Happyness is so near!