[fpc-devel] procedure ... message(); in Linux

David W Noon david.w.noon at ntlworld.com
Thu Feb 25 19:47:24 CET 2010


On Thu, 25 Feb 2010 17:59:05 +0100, Michael Schnell wrote about Re:
[fpc-devel] procedure ... message(); in Linux:

> Can't anyone answer the question if in Linux the legal and compilable
> construct
> 
> procedure... message;
> 
> either
> 
> is not supposed to be working
> 
> or
> 
> how I can have such a procedure be executed (e.g. by posting a message
> from a thread or another application, what I successfully did in
> Windows.

I have been using the Message option on Procedure/Function declarations
for a couple of years.  Provided you are using Lazarus classes, it
works just like Windows: the PostMessage() and SendMessage() functions
in the LCLIntf unit provide closely analogous functionality to their
Win32 API namesakes.  [In all the applications I have written to
exploit this, I used the Gtk2 widget set.]

What is it that you cannot get working?
-- 
Regards,

Dave  [RLU #314465]
=======================================================================
david.w.noon at ntlworld.com (David W Noon)
=======================================================================



More information about the fpc-devel mailing list