[fpc-pascal] Incorrect Process startup

2016-11-06 Thread Steve Gatenby
Intermittantly (but consistantly), my app will run the wrong process using either TAsyncProcess or RunCommand. I understand it will be my bug, just looking for a clue :) The 'Run' function is within a fpc library. A loop calls the 'Run' function each second to run a system process (eg ls or w

Re: [fpc-pascal] JSON Test Suite

2016-11-06 Thread Benito van der Zander
Hi, it is better to use TJSONParser than GetJSON. GetJSON is defined as: procedure DefJSONParserHandler(AStream: TStream; const AUseUTF8: Boolean; out Data: TJSONData); Var P : TJSONParser; begin Data:=Nil; P:=TJSONParser.Create(AStream,[joUTF8]); try Data:=P.Parse; finally

Re: [fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-06 Thread Michael Van Canneyt
On Sun, 6 Nov 2016, Andreas Frieß wrote: Hello, i will try to use the googleapiconverter from the gooleapi examples directory. I got some excepions, so i reduced the problem to a generic one. I use the trunc of FPC and compile the googleapiconv without a problem (inside lazarus). If i run i

[fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-06 Thread Andreas Frieß
Hello, i will try to use the googleapiconverter from the gooleapi examples directory. I got some excepions, so i reduced the problem to a generic one. I use the trunc of FPC and compile the googleapiconv without a problem (inside lazarus). If i run it direct from commandline with -A -k ig ot t