Oops, I got mixed up.. it's usb.pas that isn't used anymore... I changed LibUsb to stdcall and not it compiles again.. but I still get he access violation with stdcall.
James > from the copy of your github, looks like libusboop.pas has a uses statement > for libusb.pas; so libusb.pas is still used > https://github.com/Zaaphod/pas-libusb/blob/Hack/src/libusboop.pas (line 30) >Uses > Classes, SysUtils, LibUsb; _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal