[Lazarus] Weird object variables access - fpc issue?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 23 22:57:53 CEST 2017


On Mon, 23 Oct 2017 22:50:49 +0200
Giuliano Colla via Lazarus <lazarus at lists.lazarus-ide.org> 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 only, and is 
> supposed to execute only in the main thread context.

Check if 'Self' inside SendMessage is the right instance.

Mattias


More information about the Lazarus mailing list