|
-
Dec 24th, 2000, 05:51 PM
#1
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?
-
Dec 26th, 2000, 09:37 PM
#2
I think you have to set the current directory first.
-
Dec 26th, 2000, 10:08 PM
#3
Thanks, how do I do that?
I know it's
cd dir
in dos, but how do I do it with shellexecute?
-
Jan 4th, 2001, 10:16 AM
#4
Frenzied Member
Use the SetCurrentDirectory API dennis!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jan 4th, 2001, 03:16 PM
#5
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....
-
Jan 4th, 2001, 08:07 PM
#6
Frenzied Member
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 )
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|