Re: [fpc-pascal] TDOMElement and multiple attributes

2011-03-21 Thread Mattias Gaertner
On Mon, 21 Mar 2011 15:34:28 +0100 Reimar Grabowski wrote: >[...] > I am to lazy to attach the code, so here it is (you should know how to get it > into Lazarus without too much hassle :) ): > > program xmlattributes; > > {$mode objfpc}{$H+} > > uses > {$IFDEF UNIX}{$IFDEF UseCThreads} >

Re: [fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Mon, 21 Mar 2011 08:55:44 +, Mark Morgan Lloyd wrote: I'm accessing a Velleman K8055, which I think fits your description, using libusb etc. I used Uwe Zimmerman's port of libusb http://wiki.lazarus.freepascal.org/Hardware_Access#USB with very minor changes, I used

Re: [fpc-pascal] TDOMElement and multiple attributes

2011-03-21 Thread Reimar Grabowski
On Fri, 18 Mar 2011 20:16:08 +0100 Mattias Gaertner wrote: > Maybe Reimar can give an example when it does not work. I am to lazy to attach the code, so here it is (you should know how to get it into Lazarus without too much hassle :) ): program xmlattributes; {$mode objfpc}{$H+} uses {$IFD

Re: [fpc-pascal] Free Pascal 2.4.4 RC1 available

2011-03-21 Thread Marco van de Voort
(accidentally replied to Frank only. fwding to list) In our previous episode, Frank Church said: > > and > > Linux/x86_64. > > Some highlights are: > > > > Packages: > > * Many improvements to the XML units > > * Many improvements to the database units. > > > Congratulations, and thanks for the

[fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Bo Berglund
On Mon, 21 Mar 2011 08:55:44 +, Mark Morgan Lloyd wrote: > >I'm accessing a Velleman K8055, which I think fits your description, >using libusb etc. I used Uwe Zimmerman's port of libusb >http://wiki.lazarus.freepascal.org/Hardware_Access#USB with very minor >changes, I used some C sources

Re: [fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Marco van de Voort
In our previous episode, Bo Berglund said: > I posted this on the lazarus list but they suggested to send it to the > FPC list instead in order to possibly get better answers... While I use dspic33F now, that is exclusively with serial. (232/422). In the past I did use USB though with PIC18, and t

Re: [fpc-pascal] Free Pascal 2.4.4 RC1 available

2011-03-21 Thread Frank Church
On 16 March 2011 21:31, Marco van de Voort wrote: > Hello, > > We have placed the first release-candidate of the Free Pascal Compiler > version 2.4.4 on our ftp-servers. > > You can help improve the upcoming 2.4.4 release by downloading and > testing this release. If you want you can report what

Re: [fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Sven Barth
Am 20.03.2011 23:53, schrieb Bo Berglund: On Sun, 20 Mar 2011 19:47:28 +, Henry Vermaak wrote: On 20 March 2011 16:35, Bo Berglund wrote: I need to create a program using Lazarus/FPC to access a data collection device built using a PIC24F series microprocessor with built-in USB support.

[fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Lukasz Sokol
On 20/03/2011 22:53, Bo Berglund wrote: > On Sun, 20 Mar 2011 19:47:28 +, Henry Vermaak > wrote: >> What you seen hidapi? >> >> http://www.signal11.us/oss/hidapi/ >> >> You will probably have to translate the headers. > > Thanks, interesting read. I looked over what I thought would be the > v

Re: [fpc-pascal] Re: Accessing USB HID from Lazarus programs?

2011-03-21 Thread Mark Morgan Lloyd
Bo Berglund wrote: I posted this on the lazarus list but they suggested to send it to the FPC list instead in order to possibly get better answers... On Sun, 20 Mar 2011 10:04:28 -0500, Bo Berglund wrote: I need to create a program using Lazarus/FPC to access a data collection device built us