locked
USB driver in Visual-C++ RRS feed

  • Question

  •  

    How do I build a USB driver in Visual-Studio 2005  Visual-C++ 

    to run on Windows XP ?

     

    I can't find anything on HCLIENT.*  OR HID.*

     

    I do see HID.DLL in SYSTEM32\

    Wednesday, May 7, 2008 4:57 PM

Answers

  • See USB driver examples in Windows DDK
    Wednesday, May 7, 2008 7:45 PM
  • I don't believe it is possible (or at least, not practical) to build a device driver without the DDK. Why can't you use it?

     

     

    Wednesday, May 7, 2008 9:58 PM
  • Hi,

     

    WDK is short for Windows Driver Kit.

     

    Besides including all functionalities DDK provides, WDK has many enhancements.

    Generally, we can DDK as predecessor of WDK. And we consider using WDK.

     

    For detail information of WDK, you can refer to

    http://msdn.microsoft.com/en-us/library/aa972908.aspx

     

    Hope this helps!

     

    Monday, May 12, 2008 9:40 AM

All replies

  • See USB driver examples in Windows DDK
    Wednesday, May 7, 2008 7:45 PM
  • Sorry, need to use SDK and not the DDK.

     

    Specifically,  my program needs to call  HidD_GetHidGuid()

    but it won't build.  

    I have VisualStudio 2005 (v8)

    and today  installed .NET Framework SDK v2.0

     

    Can't find SDK documentation on HID

    and can't any installed HID  .h files.

     

    Thanks!

     

    --Doug

     

    Wednesday, May 7, 2008 9:50 PM
  • I don't believe it is possible (or at least, not practical) to build a device driver without the DDK. Why can't you use it?

     

     

    Wednesday, May 7, 2008 9:58 PM
  • DDK okay to use.

     

    What about WDK?

    I called Microsoft and they recommended WDK.

    But, an associate says DDK is *part* of the WDK.

     

    This sounds like the military!  :-)

    Thursday, May 8, 2008 3:50 PM
  • Hi,

     

    WDK is short for Windows Driver Kit.

     

    Besides including all functionalities DDK provides, WDK has many enhancements.

    Generally, we can DDK as predecessor of WDK. And we consider using WDK.

     

    For detail information of WDK, you can refer to

    http://msdn.microsoft.com/en-us/library/aa972908.aspx

     

    Hope this helps!

     

    Monday, May 12, 2008 9:40 AM