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

2015-12-06 Thread Ondrej Pokorny
On 06.12.2015 03:03, Denis Kozlov wrote: There are alternative IPC mechanisms available in Windows (Pipes, Sockets, DDE, etc), but that might be like opening another can of worms. I'm still confident that we can get a fully functioning IPC going using WM_COPYDATA, it just might get a bit more c

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

2015-12-06 Thread Michael Van Canneyt
On Sun, 6 Dec 2015, Denis Kozlov wrote: 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. The only way to make TSimpleIPCServer.PeekMes