Michael Van Canneyt wrote:
I would think that
TTextRec(Error).Handle:=TTextRec(StdOut).Handle
Does the trick ?
TextRec(StdErr) etc... it works and is certainly good enough. Program
self-checks OK so I'm fairly confident it's ported correctly, now to
start off with the object wrappers to
On Sat, 20 Dec 2008, Mark Morgan Lloyd wrote:
> I can get a program compiled with Turbo Pascal to use the existing stderr
> handle for output like this:
>
> PROGRAM Meta2(Input, Output, Error);
> ..
> Assign(Error, '');
> Rewrite(Error);
> TextRec(Error).Handle:= 2;
>
> or in the case of