If you want to set up the standard I/O devices for a new program, what you
do is call SetStdioPathW for each of the standard devices in the launcher
program that you're writing, then call CreateProcess to launch the program
that you want to have use those devices, then you call SetStdioPathW to
reset the original devices in your calling program. SetStdioPathW is
documented in the native code SDK help...
Paul T.
"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have look over the Process class in CF v2.0. I understand that I
> can set UseShellExecute in ProcessStartInfo false and the created
> process will share my console (STDIN, STDOUT, STDERR). This may work,
> but what I would like to do is create a child process with its own
> console, and with a set of pipes to its console. I looked at using
> the Win32 API CreateProcess, on the desktop I could use the handles in
> the STARTUPINFO structure. On Windows CE this property is not
> supported. Does anyone have an idea of how this could be
> accomplished.
>
> Pat O
>
|