Thanks Michael, I'll try that! Thierry ----- Mail Original ----- De: "Michael Van Canneyt" <mich...@freepascal.org> À: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org> Envoyé: Vendredi 9 Décembre 2011 16h57:47 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [fpc-pascal] How to poll for a byte in Input? ...
You must use fpSelect() or Poll on the handle on linux/unix. On windows, you'll need to WaitForObject() or so on the file handle. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal