WWWBoard New Message: Message 1053: Re: Using usb input and output



WWWBoard: Message 1053


[ Follow Ups ] [ Post Followup ] [ ]



   Posted by Robert Marquardt on 06/11/02 at 12:33 PM

Subject:   Re: Using usb input and output


Message Posted

In Reply to: Re: Using usb input and output posted by Keeper on 06/11/02 at 11:30 AM:

: I didn't think I'd have much luck with the MS side so I was hoping to use the raw data.

: Is Delphi a sweet anguage to use with USB interfacing?

As easy as C or C++. ALL USB or HID access is strictly through Win32 API.
The devices are enumerated with function form the Setup API (SetupDi*).
Plugs and unplugs are signalled with WM_DEVICECHANGE.
Device access is through CreateFile ReadFile WriteFile DeviceIoControl.
For HID devices get my free Delphi component from http://scripts.delphi-gems.com/download2.php?ID=37
For USB devices you always need a driver. Which DeviceIoControls etc it understands is implemented by the driver developer and without documentation you are screwed.



  

Follow Ups:





Post a Followup

Name:
E-Mail:
Subject:

Message to Post




 



[ Posting Rules | Follow Ups | Return to WWWBoard ]