Re: [fpc-pascal] Doubt related to the issue #30498

2016-08-22 Thread Sven Barth
Am 23.08.2016 04:24 schrieb "silvioprog" : > > Hello, > > A possible inline way (without declaring specialized local variables) to compile the attached test at the issue #30498 is: > > ... > procedure Test(const AItems: TArray); > begin > end; > > begin > // Test(['foo', 'bar']); issue #304

[fpc-pascal] Can not set voice property of SpVoice

2016-08-22 Thread Toru Takubo
Hello, I am testing a text to speech program working on Windows SAPI, and I encountered a problem that I can not set the Voice property because "member not found". Below is the code which describe the problem. It is originally from the freepascal wiki (http://wiki.freepascal.org/SAPI) and slight

[fpc-pascal] Doubt related to the issue #30498

2016-08-22 Thread silvioprog
Hello, A possible inline way (without declaring specialized local variables) to compile the attached test at the issue #30498 is: ... procedure Test(const AItems: TArray); begin end; begin // Test(['foo', 'bar']); issue #30498 Test(TArray.

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Michael Van Canneyt
On Mon, 22 Aug 2016, Sven Barth wrote: Am 22.08.2016 15:16 schrieb "Michael Van Canneyt" : On Mon, 22 Aug 2016, Dave Connolly wrote: From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in re

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Sven Barth
Am 22.08.2016 15:16 schrieb "Michael Van Canneyt" : > > > > On Mon, 22 Aug 2016, Dave Connolly wrote: > >>> From what I can see the error seems to involve these two lines in the >> >> procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); >> in restbase.pp (fcl-web) >> >>PA

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Michael Van Canneyt
On Mon, 22 Aug 2016, Dave Connolly wrote: From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in restbase.pp (fcl-web) PA:=@(pdynarraytypeinfo(P^.PropType)^.elesize)+i; PA:=@(pdynarraytypeinfo

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Dave Connolly
>From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in restbase.pp (fcl-web) PA:=@(pdynarraytypeinfo(P^.PropType)^.elesize)+i; PA:=@(pdynarraytypeinfo(P^.PropType)^.eletype)+i; AN:=PTYpeInf