MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to access a USB device directly?
Feedback.

Answer: First, it depends on the device.
Notes:
Some devices can be talked directly from user mode code, but some require a kernel driver.

For some devices you can use plugins to access them like:
  • Audio and Video sources using the QTGrabberClassMBS
  • Mass storage devices using the folderitem class.
  • Serial devices using the System.SerialPort function.
  • HID USB devices can be used with MacHIDMBS, WinHIDMBS or LinuxHIDInterface class.
  • Any USB device may be used with MacUSBMBS or WinUSBMBS classes.

In general it is always the best to take the most high level access to have others do the work for the details.




Links
MBS Xojo PDF Plugins