In Visual C++, and on Linux and Unix it is possible to use the pipe concept to use an existing program as a filter or data source from within you program by using the functions dup, dup2, spawn or exec and pipe.
Basically, you create a pipe, replace stdout with the write side of the pipe, spawn the desired program, for instance " cmd /c dir", and then read the read end of the pipe to capture the result.
On the latest versions of Visual C++ these have been deprecated and I have used the replacement _dup, _dup2, _spawn and _pipe to accomplish this.
However, I can not find the equvalent in CVI. I can't even find the header files io.h, fcntl.h or process.h.
Is it possible to use this type of approach using CVI?
If so, How?