Am 03.12.2010 16:11, schrieb Thaddy: > On 3-12-2010 15:50, Daniël Mantione wrote: >> >> Could you maybe specify what you want to achieve and in what way FPC >> requires you to use workaround hacks? >> >> Daniël > Yes, > > In FPC the console IO is *always* redirected, be it through a handle or > a named file. > The named file is expected to be independent of redirection. The handle > not. > Handle copying or inheritance
The handles are copied but never used. InitThread reinitializes the std i/o handles for each thread? See e.g. rtl/win/syswin.inc:173 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel