Re: [fpc-pascal] USB Human Interface Devices

2019-07-25 Thread Brian
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 ma

Re: [fpc-pascal] USB Human Interface Devices

2019-07-25 Thread James Richters
I am using synapse for RS-232 and I have played with ethernet with it with good results. This device I am trying to use now is only available in USB and it's NOT a USB-Serial device.. The sample program I am referencing accesses it thorough an HID interface James -Original Message-

Re: [fpc-pascal] USB Human Interface Devices

2019-07-25 Thread Brian
If you can find a controller with an Ethernet input then Synapse is simple and works well. I have used it for RS-232 and Ethernet , but it claims to work with USB http://www.ararat.cz/synapse/doku.php/start -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___

Re: [fpc-pascal] USB Human Interface Devices

2019-07-25 Thread Brian
If you can find a controller with an Ethernet input , the Synapse is simple to use and works well. http://www.ararat.cz/synapse/doku.php/start It also works well for RS-232. It also claims to work with USB but I haven't tried it on USB. -- Sent from: http://free-pascal-general.1045716.n5.nabb

Re: [fpc-pascal] USB Human Interface Devices

2019-07-25 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, Στις 26/7/2019 1:04 π.μ., ο James Richters έγραψε: Does Freepascal have support for USB Human Interface devices?   I am attempting to interface to an WHB04B-4 https://www.amazon.com/gp/product/B07M5ZY1P2 I have an example of how to do it that was written in Python, so I’m trying to fig

[fpc-pascal] USB Human Interface Devices

2019-07-25 Thread James Richters
Does Freepascal have support for USB Human Interface devices? I am attempting to interface to an WHB04B-4 https://www.amazon.com/gp/product/B07M5ZY1P2 I have an example of how to do it that was written in Python, so I’m trying to figure out how to get it to work with my FPC console applicatio

Re: [fpc-pascal] TParamFlags and fpc 3.2.0.

2019-07-25 Thread Sven Barth via fpc-pascal
fredvs schrieb am Do., 25. Juli 2019, 15:08: > Re-re hello. > > Maybe with video it will be more easy to explain the problem. > It would help more if you'd point me exactly at the code in question. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] TParamFlags and fpc 3.2.0.

2019-07-25 Thread fredvs
Re-re hello. Maybe with video it will be more easy to explain the problem. Here video of mseide in action compiled with fpc 3.0.4 ---> all ok. mseide_fpc304_good.mp4 And here video video of mseide in actio

Re: [fpc-pascal] TParamFlags and fpc 3.2.0.

2019-07-25 Thread fredvs
Re-hello. > Shouldn't the first $ifdef check for mse_fpc_3_2 as well? Ooops, of course, there was a bad copy-paste, the original code was this: {$ifdef mse_fpc_3_2}wordset{$else}byteset{$endif}(pbyte(po1)^)); inc(po1,{$ifdef mse_fpc_3_2}2{$else}1{$endif}); Note that previous post is

Re: [fpc-pascal] TParamFlags and fpc 3.2.0.

2019-07-25 Thread fredvs
> Shouldn't the first $ifdef check for mse_fpc_3_2 as well? In mse code, mse_fpc_3_0_2 and mse_fpc_3_0_4 are defined with this: {$if FPC_FULLVERSION >= 030100} {$define mse_fpc_3_2} {$endif} Yes, Martin did use "fpc_3_2" to define fpc > 3.0.x Note that using fpc 3.0.2 or fpc 3.0.4 is totally

Re: [fpc-pascal] Developing a mini ERP / web based development

2019-07-25 Thread Jean SUZINEAU
Hello, I have a big bunch of freepascal code under lgpl, with little documentation and a lot of identifiers in French, I hesitated a long time before sending this message,  ;-) , but may be it could be useful for you. From 2002 to 2017 I've been developing functionalities for printing documen