ac843745fa
This sample implements a simple "Echo Console" that illustrates the mechanism by which a caller can directly invoke & communicate with Command-Line applications. 1. Creates two pipes - one for output, the second for output 1. Creates a Pseudo Console attached to the other end of the pipes 1. Creates a child process (an instance of `ping.exe` in this case), attached to the Pseudo Console 1. Creates a thread that reads the input pipe, displaying received text on the screen
9 lines
306 B
C
9 lines
306 B
C
#pragma once
|
|
|
|
// Including SDKDDKVer.h defines the highest available Windows platform.
|
|
|
|
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
|
|
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
|
|
|
|
#include <SDKDDKVer.h>
|