Michael Van Canneyt wrote 11 lines
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 ?
Why did you do that ?
As you know, in TEventObject.WaitFor it uses basiceventWaitFor in line Result := TWaitResult(basiceventWaitFor(Timeout, Handle)); and the basiceventWaitFor is marked as 'Obsolete. Don't use' even in 2.6.
Should I revert to use TEvent ? Did I missed something ?
Regards,
Dimitrios Chr. Ioannidis