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.