Subj : Re: redirect stdout To : borland.public.cpp.borlandcpp From : Jogy Date : Tue Apr 06 2004 12:20 pm mike wrote: > hi, > > i was wondering how to go about "redirecting" stdout to an edit control. i'm > writng a GUI and i want to be able to have a button where the user would > click "Compile" and it would compile the specified file and redirect the > output to a edit control. i wanted to do this in real time, so writing it to > a file then reading the file and displaying that in the edit control isn't > an option. any suggestions? > > mahalo. > mike > > Hello, I am doing something similar in my OWLMaker program - it runs a command-line command in a console, captures the output and shows it in a list box. I can post the code which does that, either on my site, or on the attachments newsgroup. Jogy .