CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 1999
    Posts
    16

    Is it possible to write a Device driver in VB?.

    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.



  2. #2
    Join Date
    Nov 1999
    Posts
    1

    Re: Is it possible to write a Device driver in VB?.

    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...


  3. #3
    Join Date
    May 2001
    Posts
    8

    Can you help me

    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




  4. #4
    Join Date
    Apr 2000
    Posts
    737

    Re: Is it possible to write a Device driver in VB?.

    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.


  5. #5
    Join Date
    Apr 2000
    Posts
    737

    Re: Can you help me

    send me an email address. I compiled packet.sys successfully.


  6. #6
    Join Date
    May 2001
    Posts
    8

    Re: Can you help me

    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 : [email protected]


    Thanks and Regards
    Shyam


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured