Skip to content

Bindings for the shared library

Pavel A edited this page Jul 21, 2018 · 1 revision

.NET

Be sure to use the suitable binary for your system (32 bit only on 32-bit system, 32 or 64 bit on 64-bit system).

C#: using DllImport: see for example https://github.com/mmcs-robotics/USB-Relay/tree/master/NetDll

VB.NET: ...

Powershell: see example here: https://github.com/pavel-a/usb-digital-io16-hid/tree/master/Windows-VS/Powershell

Python

CPython: using ctypes module; see example in test dir.

Some Python variants use FFI instead of ctypes, this is similar.

Javascript (nodejs)

See here: https://github.com/aartek/usb-relay-hid-node-js/tree/develop

Java

??

Clone this wiki locally