Click here to Skip to main content
16,004,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
shaktikanta19-Mar-14 21:58
shaktikanta19-Mar-14 21:58 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
CPallini19-Mar-14 22:15
mveCPallini19-Mar-14 22:15 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
shaktikanta20-Mar-14 19:12
shaktikanta20-Mar-14 19:12 
GeneralRe: what is the behavior of a statement logically operated with 0? Pin
CPallini21-Mar-14 2:10
mveCPallini21-Mar-14 2:10 
QuestionUsing .Net DLL in VC6 Pin
ZawMinTun18-Mar-14 18:15
ZawMinTun18-Mar-14 18:15 
AnswerRe: Using .Net DLL in VC6 Pin
David Knechtges19-Mar-14 8:05
David Knechtges19-Mar-14 8:05 
GeneralRe: Using .Net DLL in VC6 Pin
ZawMinTun21-Mar-14 0:08
ZawMinTun21-Mar-14 0:08 
Questionuse c++ to drive cmd window and get responses Pin
bkelly1318-Mar-14 15:57
bkelly1318-Mar-14 15:57 
Windows 7, Visual Studio 2008, C++

Question: Is there a way to use C++ with a dialog or other GUI to open a DOS CMD window, feed it commands, let it run, and capture the output from those commands?

Parts of the output will be used for follow up commands. We may need to change directory more than once so consistency between commands will be rather helpful.

Motivation: A very extensive and heavily used application is all command line. We want to create a GUI to drive it.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/

AnswerRe: use c++ to drive cmd window and get responses Pin
Richard MacCutchan18-Mar-14 22:26
mveRichard MacCutchan18-Mar-14 22:26 
AnswerRe: use c++ to drive cmd window and get responses Pin
David Crow19-Mar-14 3:38
David Crow19-Mar-14 3:38 
GeneralRe: use c++ to drive cmd window and get responses Pin
bkelly1319-Mar-14 16:33
bkelly1319-Mar-14 16:33 
GeneralRe: use c++ to drive cmd window and get responses Pin
Heng Xiangzhong10-Apr-14 1:38
Heng Xiangzhong10-Apr-14 1:38 
QuestionEdit Box use [Solved] Pin
Fawaz Ajani17-Mar-14 10:43
Fawaz Ajani17-Mar-14 10:43 
AnswerRe: Edit Box use Pin
Albert Holguin17-Mar-14 11:34
professionalAlbert Holguin17-Mar-14 11:34 
GeneralRe: Edit Box use Pin
Fawaz Ajani17-Mar-14 22:21
Fawaz Ajani17-Mar-14 22:21 
GeneralRe: Edit Box use Pin
Richard MacCutchan18-Mar-14 0:41
mveRichard MacCutchan18-Mar-14 0:41 
GeneralRe: Edit Box use Pin
Fawaz Ajani18-Mar-14 5:05
Fawaz Ajani18-Mar-14 5:05 
GeneralRe: Edit Box use Pin
Richard MacCutchan18-Mar-14 6:54
mveRichard MacCutchan18-Mar-14 6:54 
GeneralRe: Edit Box use Pin
Fawaz Ajani19-Mar-14 20:37
Fawaz Ajani19-Mar-14 20:37 
GeneralRe: Edit Box use Pin
Albert Holguin18-Mar-14 5:04
professionalAlbert Holguin18-Mar-14 5:04 
GeneralRe: Edit Box use Pin
Fawaz Ajani18-Mar-14 5:09
Fawaz Ajani18-Mar-14 5:09 
SuggestionRe: Edit Box use Pin
Albert Holguin18-Mar-14 10:56
professionalAlbert Holguin18-Mar-14 10:56 
QuestionSyntax Error Pin
Member 1060570217-Mar-14 6:43
Member 1060570217-Mar-14 6:43 
AnswerRe: Syntax Error Pin
Richard Andrew x6417-Mar-14 9:09
professionalRichard Andrew x6417-Mar-14 9:09 
GeneralRe: Syntax Error Pin
Member 1060570217-Mar-14 10:09
Member 1060570217-Mar-14 10:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.