Click to See Complete Forum and Search --> : Is it possible to write a Device driver in VB?.


muralirajan
November 3rd, 1999, 07:13 AM
This project was developed to interface a FootPedal (A device used by Medical Transciptionist for Controlling the voice file. It has 3 pedals for Stop, Start & pause. This project receives the port signals through the Windows gameport driver. We have used the APIs related to Joystick like "JoyGetPos", "JoyGetDevCaps" etc. The frontend integrates the footpedal & user can control the voice file by click of the command button.

The problem now we are facing is that this software is not working in Win98 & WinNT. We went thro' all APIs & help & net. We could not find any hint. Only hint I got was to convert it to COM port & use MSComm Controls. But this creates other problems & was not approved.

Now we are planning to write a device driver. So I need your help as to how to go about in writing a device driver. Is it possible to write a Device driver in VB?. If not I will write it in C++. Then how to link C++ driver with VB?

Please give me some hint about this Problem.

pkmuldoon
November 3rd, 1999, 11:37 AM
Simply, put..no it is not possible to write a device driver in VB. Also, you mentionn that you use NT & 98. I guess you also need to realise the that drivers in 98 and NT are quite different. You need to write the Driver in C(++). The Windows DDK is a good place to start. If you need any help, email me and I'll try...

shyam_shiv
June 7th, 2001, 01:01 AM
Hello,
I have to write the device driver which captures the ip packet from my NIC on Winnt . For this I have installed Microsoft SDK , DDK on my machine but while trying to run build in order to compile all the libraries the build returns an error "nmake failed rc=2", before this build checks for the files in my include path and while checking for files of visual studio it says "incomplete last line."

My visual studio is installed in C: drive
Whereas SDK and DDK are installed in D: could this be the problem.

I think you can help.

Thanks and Regards
Shyam

cksiow
June 7th, 2001, 01:14 AM
have you try on the ndis3 vpacket.vxd for win98 ? it doesn't work after I compiled it, it just failed when I run the conpack.exe program.

cksiow
June 7th, 2001, 01:15 AM
send me an email address. I compiled packet.sys successfully.

shyam_shiv
June 7th, 2001, 04:00 AM
Hello,
I am sending you my email id , It would be appreciative if you can send me the steps(or any good links) of configuring the ddk environment as I would be requiring it for future too.
As I have stated before my visual studio is installed in a different drive and sdk+ddk are installed at another drive.

my email id is : shyam_del@yahoo.com


Thanks and Regards
Shyam