[fpc-devel] procedure ... message(); in Linux
Sergei Gorelkin
sergei_gorelkin at mail.ru
Thu Feb 18 14:48:38 CET 2010
Michael Schnell wrote:
> Yep. Here you need to do a server and a client and it does not seem to
> use "procedure .... message". But In Delphi/Windows you don't need to
> create a server. Just using "procedure .... message" is enough o receive
> a message from another process.
Things are more complicated than that. At the very least Delphi application
must receive the message from system (using GetMessage() or other API),
determine the target object and call its Dispatch method with message as parameter.
> If this is possible with FPC/Linux, I
> should make sure that it's still possible with the NoGUIApplication package.
>
Windows has a built-in transport for the messages, Linux doesn't. Of course there
are libraries providing similar or even better functionality, but you end up depending
on particular library.
Sergei
More information about the fpc-devel
mailing list