[Lazarus] PostMessage return value

Michael Schnell mschnell at lumino.de
Thu Sep 18 11:03:03 CEST 2014


On 09/18/2014 10:32 AM, Xiangrong Fang wrote:
>
>
>
> I don't quite understand the logic or difference between critical section
> and events.

They have nothing in common.

TCriticalSection is a Semaphore (see Wikipedia)

An event is a callback procedure -> 
https://en.wikipedia.org/wiki/Callback_%28computer_programming%29

Sorry, but you will not be able to do such a project unless you 
understand such basic computer science primitives.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140918/fb445016/attachment-0003.html>


More information about the Lazarus mailing list