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 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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal