[fpc-devel] SimpleIPC and TWinMsgServerComm.PeekMessage
juha.manninen62 at gmail.com
Wed Oct 9 16:19:45 CEST 2013
On Wed, Oct 9, 2013 at 2:52 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> You might want to take a look at WaitForInputIdle.
> MSDN entry:
> Informative blog entry:
> In my opinion you should use this in TLHelpConnection.StartHelpServer.
> Though you could add it in TWinMsgServerComm as well, as we rely on messages
No, TLHelpConnection demonstrates cross-platform IPC a cross-platform
application. It cannot use Windows API directly.
SimpleIPC is the component that hides platform specific code.
I am a little uncomfortable with WinAPI myself.
Another feature :
This code always starts a new instance of lhelp, even if I have
already opened one manually.
Sometimes it would be desirable to attach to a running instance.
Maybe it is already possible using SimpleIPC, I don't know.
More information about the fpc-devel