>> You can check if there is output using NumBytesAvailable: Ok, This thing now works (I've also try this but I "accidentaly" checked NumBytesAvailable after read, it must be checked before read)
Thanks, It works now !!! _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal