CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 5 of 5

Thread: Usb Hid

  1. #1
    Join Date
    Oct 2003
    Location
    bangalore
    Posts
    33

    Usb Hid

    hi,

    I am new to USB HID communication, can any one Provide sample code for hid communication(VC++).


    Thanks in advance,
    OM.

  2. #2
    Join Date
    Jun 2002
    Location
    Stockholm, Sweden
    Posts
    1,497

    Re: Usb Hid

    When I made my USB hid, I started here:

    http://www.lvr.com/hidpage.htm
    Nobody cares how it works as long as it works

  3. #3
    Join Date
    Oct 2003
    Location
    bangalore
    Posts
    33

    Re: Usb Hid

    thank you for the link, i am following same link, but i am getting error "error C2065: 'DBT_DEVTYP_DEVICEINTERFACE' : undeclared identifier"

    the solution for this error is to included hid.h, hid.lib which is present in Win DDK, i am not able to download this DDK...

    any quick solution...

    Thank you,
    Om

  4. #4
    Join Date
    Jun 2002
    Location
    Stockholm, Sweden
    Posts
    1,497

    Re: Usb Hid

    #define DBT_DEVTYP_DEVICEINTERFACE 5

    or download Windows DDK: http://www.microsoft.com/whdc/devtools/ddk/default.mspx
    Nobody cares how it works as long as it works

  5. #5
    Join Date
    Oct 2003
    Location
    bangalore
    Posts
    33

    Re: Usb Hid

    Thanks for the help, it worked.....

    Om

+ Reply to Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width