C++ MFC Command Line Question
Hello, I am writing a program for Windows. I need to run some DOS/Command line commands. In a terminal application I can simply use the stdlib to allow me to do this. Can someone help me figure out how to do this in a MFC GUI Application? Thanks for your time,
Randy:confused: |
Have you considered using the "system()" library call?
Or, if you need to manipulate the input/output streams between your MFC program and the DOS program, using "popen()" and "pclose()"? Check MSDN for examples using the "Console API" - that might provide some additional tips. Hope that helps .. PSM PS: What part of this was a "Linux question"??? ;-) |
"PS:
What part of this was a "Linux question"??? ;-) " The part I diddint Mention ;-) |
So did I help answer your question?
|
MFC? Wrong forum
Wrong SITE |
paulsm4, Yes, Thank you very much. Just trying to hide the command terminal that come up.
nodger, Yes, I know, Just a habbit, I don't like MFC eather...... |
Quote:
Quote:
|
does it say that?
well...don`t I feel like the asshole |
I think we should ask that the forum description be changed. There are many places that are better to ask MS Windows specific programming questions. Just by virtue that this is kind of a Linux/Unix hub there aren't many Windows experts lying around.
We should also write up a faq detailing what is on/off topic so that we can grouch around like the comp.lang.c guys :tisk: |
All times are GMT -5. The time now is 12:25 PM. |