[Lazarus] Lazarus Custom Tools issue under Windows

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Oct 28 07:52:37 CET 2008


beware! if you're going to use Carbon sendevent (sendmessage), than you
should keep in mind, that it acts different from Windows thread message.

Win sendmessage blocks the sending thread until recieving threads proccess
the messages. Of cause, if thread sends a message to itself (or a window in
the same thread) then processing function is called immediatly.

Mac sendevent actually calls event process function, in the calling thread.
This might cause any kind of threads errors, if data is not syncronized.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081027/95c7e82f/attachment-0007.html>


More information about the Lazarus mailing list