[Lazarus] PostMessage return value

Xiangrong Fang xrfang at gmail.com
Sun Sep 14 04:19:01 CEST 2014

Hi All,

I try to use PostMessage for inter-thread communication.

After reading the wiki and source code, I found that:

1) PostMessage is defined in winapih.inc, altough I confirmed using a
simple test program that it also work under linux.

2) In the document it is not mentioned when PostMessage will return false?
 In practice, is it necessary to check return value of PostMessage?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140914/5cd9332e/attachment-0002.html>

More information about the Lazarus mailing list