Redirecting console output
-
I'm trying a work out how I might redirect the output from a console app to a windows text box in VC++. Similar to when you compile and the output of nmake is shown in a docked window. Does anyone have any ideas? I thought about using CreatePipe() and it's associated functionality. Is this right? Many thanks for any help
-
I'm trying a work out how I might redirect the output from a console app to a windows text box in VC++. Similar to when you compile and the output of nmake is shown in a docked window. Does anyone have any ideas? I thought about using CreatePipe() and it's associated functionality. Is this right? Many thanks for any help
Pipes are the easy way to do it. There are many sample codes in the MSDN to show you how to. You can also take a look at the following... http://codeguru.earthweb.com/misc/redirect.shtml http://codeguru.earthweb.com/misc/RedirectOutputToPipe.shtml You need further help? get back. Regards, Paul.