Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-23 Thread Mattias Gaertner via Lazarus
On Mon, 23 Oct 2017 22:50:49 +0200 Giuliano Colla via Lazarus wrote: > Il 23/10/2017 21:33, Sven Barth via Lazarus ha scritto: > > How do you pass the SendMessage() method to your thread? And how does > > the code look that calls it? > > > The SendMessage() method belongs to the main thread on

Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-23 Thread Giuliano Colla via Lazarus
Il 23/10/2017 21:33, Sven Barth via Lazarus ha scritto: How do you pass the SendMessage() method to your thread? And how does the code look that calls it? The SendMessage() method belongs to the main thread only, and is supposed to execute only in the main thread context. It fills up a buffe

Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-23 Thread Sven Barth via Lazarus
Am 23.10.2017 21:00 schrieb "Giuliano Colla via Lazarus" < lazarus@lists.lazarus-ide.org>: I'm doing something wrong, I'm missing something, or this is just a compiler bug? How do you pass the SendMessage() method to your thread? And how does the code look that calls it? Regards, Sven -- __

[Lazarus] Weird object variables access - fpc issue?

2017-10-23 Thread Giuliano Colla via Lazarus
I have stumbled into what appears to me to be a compiler error, but before I post in the fpc list, I'd like to get expert advice. I have an application already in use since many years, which uses a thread to handle a serial line. I don't know if that second thread i

Re: [Lazarus] Fatal IO error 11

2017-10-23 Thread Mattias Gaertner via Lazarus
On Mon, 23 Oct 2017 12:21:33 -0400 Donald Ziesig via Lazarus wrote: > Hi All! > > How can I isolate the source of "Fatal IO error 11 (Resource temporarily > unavailable) on X server :0.0. Xlib: request 67 length 20 would exceed > buffer size."  The program halts without calling the debugger or

Re: [Lazarus] Request for merge to 1.8

2017-10-23 Thread FTurtle via Lazarus
>Could you please test the merging. Some changes was merged, some - not. But I found only one thing that affects functionality for users: Now in TToolBarConfig.UpdateButtonsState we have: trunk: btnAddDivider.Enabled := True; fixes: btnAddDivider.Enabled:=(lvToolbar.Selected = nil) or (lvToolb

[Lazarus] Fatal IO error 11

2017-10-23 Thread Donald Ziesig via Lazarus
Hi All! How can I isolate the source of "Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. Xlib: request 67 length 20 would exceed buffer size."  The program halts without calling the debugger or throwing an exception.  The only indication I have is this error message in