On Wed, 25 Mar 2015, fredvs wrote:
Hello. Sorry to sorry to bother you with that file descriptors again... ;-( There are some answers there on mpg123 forum. They explain that "simple stdin/stdout file descriptors would work." Of course all what they explained is in C ;-( OK, but how can i use "simple stdin/stdout file descriptors" in Pascal ? What is the code to retrieve that stdin/stdout file descriptors in Windows?
They are available in default variables in the system unit: StdInputHandle,StdOutputHandle,StdErrHandle Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal