You need to create pipe (with CreatePipe()), then attach stdout to it’s write end with SetStdHandle(), then you can read from pipe’s read end with ReadFile() and put text you get from there anywhere you like.
More Related Contents:
- HOW to understand custom drawn ? Which tools can I use? [closed]
- Get HWND on windows with Qt5 (from WId)
- How to use QueryPerformanceCounter?
- Getting started with OpenCV 2.4 and MinGW on Windows 7
- WINMAIN and main() in C++ (Extended)
- Requesting administrator privileges at run time
- “X does not name a type” error in C++
- How to create minidump for my process when it crashes?
- redirect stdout/stderr to a string
- C++ How to detect Windows 10
- When and how should I use exception handling?
- What happens to global variables declared in a DLL?
- SetupDiGetDeviceProperty usage example
- What is the Best Practice for Combating the Console Closing Issue?
- How to get the process name in C++
- How to solve Memory Fragmentation
- Detect Windows or Linux in C, C++ [duplicate]
- xxxxxx.exe is not a valid Win32 application
- How to target Windows XP in Microsoft Visual Studio C++ [duplicate]
- Intercept windows open file
- How to use Libraries
- Linking different libraries for Debug and Release builds in Cmake on windows?
- EXE or DLL Image base address
- C++ [Windows] Path to the folder where the executable is located [duplicate]
- Copying content from a hidden or clipped window in XP?
- ReleaseSemaphore does not release the semaphore
- Passing reference to STL vector over dll boundary
- Getting another process command line in Windows
- Visual Studio 2013: CL.exe exited with code -1073741515
- How can I cin and cout some unicode text?