[Lazarus] Google API Ubuntu exception

2020-01-13 Thread Francesco Sammarco via lazarus
Hi, I have a problem. I tried to compile the example for google calendar access and it works correctly on mac os and windows, but when I try to use it on ubuntu I get the following error. TCalendarList: unsupported array element type How do I solve? Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-

Re: [Lazarus] Google API Ubuntu exception

2020-01-13 Thread Francesco Sammarco via lazarus
I installed it thanks to fpcupdeluxe Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha scritto: > > > On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > > > Hi, I have a problem. I tried to compile the example for google calendar > > access and it works correct

Re: [Lazarus] Google API Ubuntu exception

2020-01-13 Thread Francesco Sammarco via lazarus
So somehow there must be a difference in version. > > Michael. > > On Mon, 13 Jan 2020, Francesco Sammarco wrote: > > > I installed it thanks to fpcupdeluxe > > > > Il lun 13 gen 2020, 22:57 Michael Van Canneyt > ha > > scritto: > > > >> > >

Re: [Lazarus] Google API Ubuntu exception

2020-01-16 Thread Francesco Sammarco via lazarus
arco wrote: >> >> > I installed it thanks to fpcupdeluxe >> > >> > Il lun 13 gen 2020, 22:57 Michael Van Canneyt >> ha >> > scritto: >> > >> >> >> >> >> >> On Mon, 13 Jan 2020, Francesco Sammarco via

Re: [Lazarus] Google API Ubuntu exception

2020-01-16 Thread Francesco Sammarco via lazarus
lly independent of the platform. > >>> So somehow there must be a difference in version. > >>> > >>> Michael. > >>> > >>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: > >>> > >>>> I installed it thanks to fpc

[Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-03 Thread Francesco Sammarco via lazarus
Hi everyone, I have the following problem. I have a calendar (Italian) to sync with Google Calendar. With the following code I can work quite well. If today (2020-06-03) I set a new appointment it is saved on google calendar on the right day and time, but if for example: always today if I set an ap

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-03 Thread Francesco Sammarco via lazarus
sorry I don't understand, you say that just remove the lines where I specify the timezone ?! Il mer 3 giu 2020, 14:51 Michael Van Canneyt ha scritto: > > > On Wed, 3 Jun 2020, Francesco Sammarco via lazarus wrote: > > > Hi everyone, I have the following problem. I have

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-03 Thread Francesco Sammarco via lazarus
imezone ?! > > No, remove the > > start_e.dateTime := LocalTimeToUniversal(start_e.dateTime); > > I think it is not necessary if you set the timezone. > > Michael. > > > > > > Il mer 3 giu 2020, 14:51 Michael Van Canneyt ha > > scritto: > > >

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-04 Thread Francesco Sammarco via lazarus
; > >> On Wed, 3 Jun 2020, Francesco Sammarco wrote: > >> > >>> sorry I don't understand, you say that just remove the lines where I > >>> specify the timezone ?! > >> > >> No, remove the > >> > >> start_e.dateTime := Local

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-04 Thread Francesco Sammarco via lazarus
nd_e := TEventDateTime.Create(); > >>start_e.dateTime := data_appuntamento; > >>start_e.timeZone := 'Europe/Rome'; > >> > >> Michael. > >> > >>> > >>> Il mer 3 giu 2020, 15:55 Michael Van Canneyt > ha &g

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-04 Thread Francesco Sammarco via lazarus
If anyone cares I think I have found a working way. Basically I do the insertion or updating of the appointment. The API returns the content of the newly updated or inserted appointment, I compare the hours contained with the hours I wanted to set. I calculate the difference and apply it. I make a

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-04 Thread Francesco Sammarco via lazarus
Of course, it's just not the idea of how to check if the time falls in daylight saving time or not. Il giorno gio 4 giu 2020 alle ore 17:24 wkitty42--- via lazarus < lazarus@lists.lazarus-ide.org> ha scritto: > On 6/4/20 10:37 AM, Francesco Sammarco via lazarus wrote: > > If

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-05 Thread Francesco Sammarco via lazarus
ia lazarus > > mailto:lazarus@lists.lazarus-ide.org>> > ha scritto: > > > > On 6/4/20 10:37 AM, Francesco Sammarco via lazarus wrote: > > > If anyone cares I think I have found a working way. Basically I > do the > > insertion > > > o

Re: [Lazarus] Google Calendar API TEvent start or _end (TDatetime) question

2020-06-05 Thread Francesco Sammarco via lazarus
gt; ha scritto: > As Example for Germany: > > https://wiki.freepascal.org/Daylight_saving_time/de > > > > > > > > > > Am 05.06.20 um 14:00 schrieb Francesco Sammarco via lazarus: > > Ok. But not so how to do it. Is there an example? > > Il gio

Re: [Lazarus] App for PinePhone

2020-08-30 Thread Francesco Sammarco via lazarus
Keep us informed, it interests me too. I just did some tests for the application console. Il giorno dom 30 ago 2020 alle ore 10:49 SteveG via lazarus < lazarus@lists.lazarus-ide.org> ha scritto: > On 30/8/20 4:30 pm, Juha Manninen via lazarus wrote: > > On Sun, Aug 30, 2020 at 8:59 AM SteveG via