WinPipe
URLhttp://www.micrognu.com/proj/nocost/wpipe/
Description WinPipe is a combination of a utility and a dynamic link library which allows an application to spawn a child process with a wide range of abilities for manipulating the standard console handles of the child. The purpose of WinPipe was to overcome problems and limitations related to standard I/O redirection of Windows console applications.
Comment The normal way of redirecting console input and output under MS Windows is explained by Microsoft in the article "Creating a Child Process with Redirected Input and Output." The method used by Microsoft is a call to the CreateProcess API function with the standard handles redirected to pipes. There are several problems with this method. One problem is that many Windows Console API functions will not work properly when the console is redirected in this way. The standard windows console handles point to Console Screen Buffer and Console Input Buffer objects, a pipe will only function equivalently to these objects when passed to ReadFile, WriteFile, or PeekNamedPipe. WinPipe solves these problems by creating an easy programming interface where the child process executes with access to real console handles, but the parent application can read from and write to the child console.
Approved 2008.06.30 (50 days ago)
Updated 2008.08.20 (50 days ago)
Rating 0
Operating Systems Windows,
Licenses GPL,
Tags
| Edit | Report error or broken link