Archived

This topic is now archived and is closed to further replies.

CharSoft

console dumping

Recommended Posts

how would I, in c++, dump an ms-dos program''s output into a win32 program''s textbox? or, more simply, how would i get output from dos programs into other win32 programs? like mingw frontends tell you how its doing with the compilation

Share this post


Link to post
Share on other sites
This might have something to do with stdout file descriptors. In linux I know you can write a program that can receive stdin/stdout so maybe in windows you can do the same thing. Create a file descriptor that receives stdout and you''ll pick up the output from the msdos program?

Later,
RandomTask

Share this post


Link to post
Share on other sites