[fpc-pascal] USB Human Interface Devices

James Richters james at productionautomation.net
Fri Jul 26 12:39:33 CEST 2019


I've been trying to get some of these suggestions to work, but they all seem to require Lazarus, which I don't have and don't even know how to use.  I'm looking for a solution that will work in a pure FPC console application in Windows, without Lazarus.    I started trying to convert the demo programs into FPC only demos but there are just too many units I don't have and I don't know how to get around that.   The project I am trying to integrate this into is huge and several hundred thousand lines of code, and has been in development for 30 years, starting back with Turbo Pascal it would be completely impossible to port it all over to Lazarus.   I've tried just compiling my project with Lazarus before and just ran into issue after issue with it.  I’m currently using FPC 3.0.4RC1

Anyone have any suggestions for an FPC only console application method or demo I could use to access this USB HID device?

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of Brian
Sent: Thursday, July 25, 2019 10:41 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface Devices

Try the libusb library Free Pascal interface .. but be aware of his license requirements. It works well.

http://johann-glaser.blogspot.com/2012/07/libusb-for-pascal.html



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list