Re: [fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Dimitrios Chr. Ioannidis
On 19-05-2015 12:31, Michael Van Canneyt wrote: On Tue, 19 May 2015, Dimitrios Chr. Ioannidis wrote: Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardi

Re: [fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Michael Van Canneyt
On Tue, 19 May 2015, Dimitrios Chr. Ioannidis wrote: Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardinal. There is no reason to abandon TEvent ?

[fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Dimitrios Chr. Ioannidis
Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardinal. Is there a definition of INFINITE constant somewhere else defined as Cardinal ? Regards,