Socket question

Kenneth Brody kenbrody at bestweb.net
Wed Aug 9 15:49:26 PDT 2006


Quoting Fairlight (Wed, 9 Aug 2006 17:21:21 -0400):
[...]
> Okay, this assumes that fP actually uses STDOUT in Win32.  If that's not
> the case, I'm sure Ken or someone else will say so.  If it does, though,
> this is your best bet for debugging it.

filePro on Windows will, by default, use CONIN$ and CONOUT$ for
console I/O.  filePro doesn't use stdin/stdout because full-screen
control is not available via stdio.

Early testing showed that, if filePro were to use stdio (actually,
STD_INPUT_HANDLE and STD_OUTPUT_HANDLE), and you were to redirect
stdout to a file, nothing would show up on the screen, and nothing
would show up in the file, either.  Also, redirecting stdin from a
file would not cause filePro to read the file for input.  This is
because the Windows console API doesn't act like file I/O.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list