From: Kustaa N. <Kus...@pl...> - 2019-09-29 17:02:45
|
Why would a last update in 2016 indicate abandonment? The HID APIs of all platforms are pretty stable and the functionality provided by HIDAPI is very simple so no need to update I think, no ?! libusb has officially (IIRC) abandoned / shunned away from HID support (there was a big row over it) and thus would seem to be the wrong tool to begin with. Last time I worked with Pascal (quite a few years ago) calling C routines from Pascal was trivial but it depends on the compiler / linker used. If I remember correctly all you have to do is to declare a function 'external' in Pascal and the linker will resolve this. Depending on calling convention parameters may have to be passed in reverse order and their sizes may have to be adjusted. What Pascal are you using? wbr Kusti |