-
Hello,
I am making a program that shells the Borland C++ 5.5 compiler, using ShellExecute... and the question is.. how do I get the output? what was "written" in the console window?
And another question. How do I make the application wait until the console window is closed before continuing??
Thanks,
Dennis Wrenn
PS: I am not as concerned about this... but how do you use vectors?
-
I think you have to set the current directory first.
-
Thanks, how do I do that?
I know it's
cd dir
in dos, but how do I do it with shellexecute?
-
Use the SetCurrentDirectory API dennis!
-
Thanks Jop! but I don't think thats the problem...
I asked parksie a while ago.. and he said the reason was, that when you use shellexecute, you are opening the actuall program, and it doesn't recognize >
but the MSDOS console does.
So... I have to learn how to use CreateProccess, and use that....
-
I'm a VC++ newbie, so I didn't quite understood the problem ;)
but I'm sure I'll learn VC++ in less then 9 months (as well as I did with VB ;))