Ports
May 18, 2013, 03:47:45 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: usbhidio feature report in vb6  (Read 1453 times)
divabanana
Member
*
Posts: 2


« on: September 19, 2010, 05:12:51 pm »

Hi,

I am using usbhidio code from usbhidio2.zip (the vb6 example) as a basis for communicating with a HID.
Reading the device is no problem and sending 2 byte values using output report is fine.

I need to send an 8 byte hex string using the feature report but can't for the life of me get it to work.

I've set the string as values in the outputdata array but am having problems with the WriteData () code.

Could someone show a quick example of the correct vb6 code to send an 8 byte array using feature reports?  Huh

Huge thanks Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!