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

2019-07-26 Thread Sven Barth via fpc-pascal
Am 26.07.2019 um 14:50 schrieb fredvs: But, imho, there is problem with the behavior of fpc-ptypeinfo and filter in TParamFlags. Dont worry, I will not annoy you with this. There is no problem with PTypeInfo or TParamFlags. The tests for these functionalities pass without any issues on multiple

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Jean SUZINEAU
You can compile console projects with Lazarus, and even use non visual components and datamodules. I've coded a dll (several hundred thousand lines of code too) which is used by console programs on web servers. I compile the dll with the same lazarus project in Lazarus for Windows  and in

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

2019-07-26 Thread fredvs
Hello Sven. I did try your code but it has still problems. Here the result I get: procedure onexec(var elfPointer ... procedure tmainfo.onexec(var elfPointer It should be: procedure onexec(const sender: TObject); ... procedure tmainfo.onex(const sender: TObject); There is something

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

2019-07-26 Thread fredvs
Hello Sven. Thanks for your code, I will deeply study it. Write you later. Fre;D - Many thanks ;-) -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Johann Glaser
Hi! Am Freitag, den 26.07.2019, 15:56 +0200 schrieb Marc Santhoff: > On Thu, 2019-07-25 at 19:40 -0700, Brian wrote: > > Try the libusb library Free Pascal interface .. but be aware of his > > license > > requirements. It works well. > > > >

Re: [fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Jonas Maebe
On 2019-07-26 20:38, Mgr. Janusz Chmiel wrote: Please, how I could generate Android.pas and android.inc from The newest Android Platformtools? I think that android.jar is being used for this purposes. The information of how the included headers were generated can be found at

Re: [fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Mgr. Janusz Chmiel
Please, how I could generate Android.pas and android.inc from The newest Android Platformtools? I think that android.jar is being used for this purposes. But. Is it possible to use newer Platform tools such as Android 22? Or unfortunately, Google have made some restrictions so it is not

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Marc Santhoff
On Fri, 2019-07-26 at 11:44 -0400, James Richters wrote: > I did try fpc-usb-hid, it uses units: BaseUnix and Unix which I don't have, > and don't know what they are. I tried commenting them out thinking maybe > they were needed for Linux, but then it just can't find a lot of other > things...

Re: [fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Jonas Maebe
On 2019-07-26 19:24, Mgr. Janusz Chmiel wrote: Because my apps will be longer and longer, I have some special technical question to you. How many lines can PPCJVM compile while using one source file without units? I don't think there is a limit. There is only a limit per

[fpc-pascal] PPCJVM Android JVM target technical questions

2019-07-26 Thread Mgr. Janusz Chmiel
Dear developers, Because my apps will be longer and longer, I have some special technical question to you. How many lines can PPCJVM compile while using one source file without units? How many values can be processed by using Case block? For example max 200 or similar value? How to manage

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread James Richters
I did try fpc-usb-hid, it uses units: BaseUnix and Unix which I don't have, and don't know what they are. I tried commenting them out thinking maybe they were needed for Linux, but then it just can't find a lot of other things... I am on Windows and using FPX 3.0.4RC1, if the units I need

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Marc Santhoff
On Thu, 2019-07-25 at 19:40 -0700, Brian wrote: > 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 http://johann-glaser.blogspot.com/2012/09/libusb-10-for-pascal.html

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, On 2019-07-26 13:39, James Richters wrote: < snip > Anyone have any suggestions for an FPC only console application method or demo I could use to access this USB HID device? < snip > As I suggested in my previous mail You can use the fpc-usb-hid library from Alfred. I don't see any

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread José Mejuto
El 26/07/2019 a las 12:39, James Richters escribió: Anyone have any suggestions for an FPC only console application method or demo I could use to access this USB HID device? Hello, This is not a complete HID interface but it can help you to start working with them. It has been designed to

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread James Richters
I've been trying to get some of these suggestions to work, but they all seem to require Lazarus, which I don't have and don't even know how to use. I'm looking for a solution that will work in a pure FPC console application in Windows, without Lazarus.I started trying to convert the demo

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

2019-07-26 Thread Sven Barth via fpc-pascal
fredvs schrieb am Fr., 26. Juli 2019, 09:06: > > It would help more if you'd point me exactly at the code in question. > > OK, now that you see the problem, here the code in mse-ide project: > > In msedesignparser.pas, procedure getmethodparaminfo: (Please take a look > at > the // in code that

Re: [fpc-pascal] USB Human Interface Devices

2019-07-26 Thread Jean SUZINEAU
I'm not an expert, but a few years ago I made small project to read data from an Arduino through USB port. The project was running on Raspberry Pi, on Windows it can be more tricky( I'm not sure, but I think a device driver is needed):

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

2019-07-26 Thread fredvs
> It would help more if you'd point me exactly at the code in question. OK, now that you see the problem, here the code in mse-ide project: In msedesignparser.pas, procedure getmethodparaminfo: (Please take a look at the // in code that follow --> paramlist has one more entry in fpc 320)