Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Jean SUZINEAU
Hi James, Le 09/08/2019 à 02:19, James Richters a écrit : so this was strange... it was working before line 81For J := 1 to Length(PortPath)-1 do line 82 Write('->',PortPath[I]); Line 82 is using variable I but it's in a

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread James Richters
I changed the VID and PID to match the device I am trying to use and I was able to successfully compile and run test2controlsync.pas and test3controlasync.pas, but when I tried to use my VID and PID in test_arduino_with_bmp280.pas I can't even compile it.. using the x86_64-win64 Text IDE I get

Re: [fpc-pascal] FP.exe error in x86_64-Win64

2019-08-08 Thread James Richters
I tried using fpcupdeluxe to compile x86_64-win64 - Trunk, I was then able to compile 64bit programs with the text IDE. I guess the problem was already fixed at some point. James From: fpc-pascal On Behalf Of Jean SUZINEAU Sent: Wednesday, August 7, 2019 7:00 PM To:

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread James Richters
I finally got the text IDE working with x86_64-Win64! I was thinking of making a bug report on the problem with the Text IDE but before I did that I thought I would test the current Trunk, and surprisingly that worked just fine! so I got my settings all put in it and I was able to compile my

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Jean SUZINEAU
Ooops, sorry. Of course I meant dynamic linking ... Le 08/08/2019 à 23:32, Johann Glaser a écrit : Am Donnerstag, den 08.08.2019, 13:14 +0200 schrieb Jean SUZINEAU: It seems that right out of the box pas-libusb uses static linking for me. I think you meant to write "dynamic linking" here. :-)

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Johann Glaser
Hi! Am Donnerstag, den 08.08.2019, 13:14 +0200 schrieb Jean SUZINEAU: > Le 08/08/2019 à 12:07, James Richters a écrit : > > > Is the static linking issue just with Windows, and it works on > > Linux, or it isn’t working with FPC at all on either? > > > > James > > It seems that right out of the

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Jean SUZINEAU
Le 08/08/2019 à 12:07, James Richters a écrit : Is the static linking issue just with Windows, and it works on Linux, or it isn’t working with FPC at all on either?   James

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread James Richters
Is the static linking issue just with Windows, and it works on Linux, or it isn’t working with FPC at all on either? James From: fpc-pascal On Behalf Of Jean SUZINEAU Sent: Thursday, August 8, 2019 5:40 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] USB Human Interface

Re: [fpc-pascal] USB Human Interface Devices

2019-08-08 Thread Jean SUZINEAU
Static linking : Le 05/08/2019 à 21:38, Johann Glaser a écrit : Referring to your EMail to James, it seems that Vitaly even got it working with static linking. Especially "$LINKLIB msvcrt" and "$LINKLIB usb-1.0.dll.a" look