On Wed, Oct 9, 2013 at 2:52 PM, Sven Barth <[email protected]> wrote:
> You might want to take a look at WaitForInputIdle.
>
> MSDN entry:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms687022%28v=vs.85%29.aspx
> Informative blog entry:
> http://blogs.msdn.com/b/oldnewthing/archive/2010/03/25/9984720.aspx
>
> In my opinion you should use this in TLHelpConnection.StartHelpServer.
> Though you could add it in TWinMsgServerComm as well, as we rely on messages
> anyway...

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.

Juha
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to