<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
На 25.11.2010 11:39, Thaddy напісаў(ла):
<blockquote cite="mid:4CEE2EB7.7070903@thaddy.com" type="cite">On
25-11-2010 10:24, <a class="moz-txt-link-abbreviated" href="mailto:michael.vancanneyt@wisa.be">michael.vancanneyt@wisa.be</a> wrote:
<br>
<blockquote type="cite"><br>
They are threadvars in trunk:
<br>
<br>
ThreadVar
<br>
ThreadID : TThreadID;
<br>
{ Standard In- and Output }
<br>
ErrOutput,
<br>
Output,
<br>
Input,
<br>
StdOut,
<br>
StdErr : Text;
<br>
<br>
Michael.
<br>
_______________________________________________
<br>
</blockquote>
That's not Delphi compatible, btw: ;) : op.cit: system.pas
<br>
var
<br>
...........
<br>
Input: Text; { Standard input }
<br>
Output: Text; { Standard output }
<br>
ErrOutput: Text; { Standard error output }
<br>
<br>
It may be a good thing, though.
<br>
It also explains my strange results in testing D vs FPC this morning.
<br>
<br>
_______________________________________________
<br>
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a>
<br>
</blockquote>
<font face="Helvetica, Arial, sans-serif">That is!<br>
<br>
Due to incompatibility of RTL between FPC and Delphi my capturing
tricks not work.<br>
BTW what the real reason to make these files as threadvar?<br>
Per-thread StdOut, StdIn, StdErr (ooooo! the application with multiple
standard outputs)?<br>
<br>
regards,<br>
Anton<br>
<br>
</font>
</body>
</html>