It works... but only for the first call, after that IOResult gives 103. Does rtl closes stdout handle after every write or what? -- View this message in context: http://www.nabble.com/Where-does-Write%28Ln%29-actually-write-to--tp23380791p23515456.html Sent from the Free Pascal - General mailing list archive at Nabble.com.