Click here to Skip to main content
16,010,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: defining as public, protected, or private Pin
Pavel Klocek28-Aug-02 6:46
Pavel Klocek28-Aug-02 6:46 
GeneralCDialogBar window as modal window Pin
Anthony B.28-Aug-02 4:59
Anthony B.28-Aug-02 4:59 
GeneralRe: CDialogBar window as modal window Pin
Tomasz Sowinski28-Aug-02 5:05
Tomasz Sowinski28-Aug-02 5:05 
GeneralRe: CDialogBar window as modal window Pin
Antony B.28-Aug-02 5:11
sussAntony B.28-Aug-02 5:11 
GeneralRe: CDialogBar window as modal window Pin
Tomasz Sowinski28-Aug-02 5:16
Tomasz Sowinski28-Aug-02 5:16 
GeneralON_UPDATE_COMMAND_UI Being called thousands of times. Pin
Jawache28-Aug-02 4:52
Jawache28-Aug-02 4:52 
GeneralRe: ON_UPDATE_COMMAND_UI Being called thousands of times. Pin
Tomasz Sowinski28-Aug-02 4:57
Tomasz Sowinski28-Aug-02 4:57 
GeneralExecuting an exe from C++ Pin
abhinarulkar28-Aug-02 4:52
abhinarulkar28-Aug-02 4:52 
Hi all,
I need to execute an exe file from my C++ program.This I'm able to do using the CreateProcess method provided.I'm able to execute the exe and even see the output.My need is to store that output into a text file.As we may do it on the command line using redirection.I assigned the command line string to the second parameter in the CreateProcess method but the problem is not solved.
That is
CreateProcess( "D:\\filename.exe", // No module name (use command line).
"filename >pas.txt", // Command line.
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
NULL, // Use parent's starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.

Can anybody help me.
Thanks and Regards,
Abhishek.

Learning is a never ending process of Life.
GeneralRe: Executing an exe from C++ Pin
Andreas Saurwein28-Aug-02 4:53
Andreas Saurwein28-Aug-02 4:53 
QuestionWhat files does my project need? Pin
User 665828-Aug-02 4:35
User 665828-Aug-02 4:35 
AnswerRe: What files does my project need? Pin
Michael P Butler28-Aug-02 4:42
Michael P Butler28-Aug-02 4:42 
AnswerRe: What files does my project need? Pin
Tomasz Sowinski28-Aug-02 4:48
Tomasz Sowinski28-Aug-02 4:48 
AnswerRe: What files does my project need? Pin
Ravi Bhavnani28-Aug-02 4:46
professionalRavi Bhavnani28-Aug-02 4:46 
AnswerThanks! Pin
User 665828-Aug-02 4:48
User 665828-Aug-02 4:48 
AnswerFree backup utility Pin
Ravi Bhavnani28-Aug-02 4:48
professionalRavi Bhavnani28-Aug-02 4:48 
GeneralRe: Free backup utility Pin
Andreas Saurwein28-Aug-02 4:50
Andreas Saurwein28-Aug-02 4:50 
GeneralRe: Free backup utility Pin
Ravi Bhavnani28-Aug-02 4:56
professionalRavi Bhavnani28-Aug-02 4:56 
GeneralRe: Free backup utility Pin
Andreas Saurwein28-Aug-02 5:05
Andreas Saurwein28-Aug-02 5:05 
GeneralRe: Free backup utility Pin
User 665828-Aug-02 4:57
User 665828-Aug-02 4:57 
GeneralRe: Free backup utility Pin
Ravi Bhavnani28-Aug-02 5:46
professionalRavi Bhavnani28-Aug-02 5:46 
GeneralYep, it's a bug alright! Pin
Ravi Bhavnani28-Aug-02 5:47
professionalRavi Bhavnani28-Aug-02 5:47 
AnswerRe: What files does my project need? Pin
Pavel Klocek28-Aug-02 4:48
Pavel Klocek28-Aug-02 4:48 
GeneralString Table Pin
achandra00728-Aug-02 4:27
achandra00728-Aug-02 4:27 
GeneralRe: String Table Pin
Pavel Klocek28-Aug-02 4:43
Pavel Klocek28-Aug-02 4:43 
GeneralRe: String Table Pin
Andreas Saurwein28-Aug-02 4:45
Andreas Saurwein28-Aug-02 4:45 

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.