Creating a front end for a dos program...
Posted on 2002-03-12
I have a dos program that when run will sit there and give you status reports in the command window you opened it in.
I want to create a front end for this that will remove that command window..
Basically, instead of having a command window sitting there scrolling what its doing at you, I have an edit box or maybe just one line with what it's currently doing.
How do I go about calling the program without it opening up a command window and then displaying its output in my front end?
I assume I will be simply calling the program using ShellExecute and using sw_Hide as the ShowCmd..
But how do I get the constant stream it outputs as its status?