Re: [fpc-pascal] How to list USB devices on Windows?

2018-06-28 Thread José Mejuto
El 28/06/2018 a las 13:44, Marco van de Voort escribió: I hesitate calling it public domain, but the code snippets I collect are exactly that, visible for everyone, from postings on forums and the like. JVCL also has such code. I use it to get descriptive names for usb serials. Hello, Maybe

Re: [fpc-pascal] How to list USB devices on Windows?

2018-06-28 Thread Marco van de Voort
In our previous episode, Marc Santhoff said: > > Or is there an FPC command already? > > I have some code in Object Pascal doing such stuff. The problem with it is, it > has no copyright string or author anywhere. I even don't know where it is > from, it's one of the pieces of code collected when

Re: [fpc-pascal] How to list USB devices on Windows?

2018-06-27 Thread Marc Santhoff
On Wed, 2018-06-27 at 07:32 +0200, Bo Berglund wrote: > I am writing a class that interfaces to a specific USB device HID type > and I would like to list all such devices currently connected to the > PC (usin Windows). > [...] > Is there some way I can do this on Windows so I can create a list of

Re: [fpc-pascal] How to list USB devices on Windows?

2018-06-26 Thread R0b0t1
On Wed, Jun 27, 2018 at 12:32 AM, Bo Berglund wrote: > I am writing a class that interfaces to a specific USB device HID type > and I would like to list all such devices currently connected to the > PC (usin Windows). > > On Linux I can do this on the command line: > > $ lsusb > Bus 001 Device 004

[fpc-pascal] How to list USB devices on Windows?

2018-06-26 Thread Bo Berglund
I am writing a class that interfaces to a specific USB device HID type and I would like to list all such devices currently connected to the PC (usin Windows). On Linux I can do this on the command line: $ lsusb Bus 001 Device 004: ID 07f2:0003 Microcomputer Applications, Inc. Bus 001 Device 003: