Re: [fpc-devel] Inconsistent use of Timeout in SimpleIPC

2015-12-05 Thread Denis Kozlov
I got the Plan B working (SetTimer+GetMessage) for SimpleIPC. However, it is not possible at all to get TSimpleIPCServer.PeekMessage to NOT read the message, i.e. to respect DoReadMessage=False parameter. Every message queue accessing function in Windows (e.g. PeekMessage, GetMessage) automat

Re: [fpc-devel] Inconsistent use of Timeout in SimpleIPC

2015-12-05 Thread Michael Van Canneyt
On Fri, 4 Dec 2015, Denis Kozlov wrote: There is another problem with SimpleIPC on Windows. This same problem was experienced in @Juha's post "SimpleIPC and TWinMsgServerComm.PeekMessage": http://lists.freepascal.org/pipermail/fpc-devel/2013-October/032871.html TWinMsgServerComm.PeekMessage