Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Pin
David Crow29-Jul-04 3:47
David Crow29-Jul-04 3:47 
QuestionHow to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 8:41
RobJones28-Jul-04 8:41 
AnswerRe: How to redirect output to a file using shellexecute. Pin
Jaime Stuardo28-Jul-04 8:55
Jaime Stuardo28-Jul-04 8:55 
GeneralRe: How to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 9:02
RobJones28-Jul-04 9:02 
GeneralFigured it out. Pin
RobJones28-Jul-04 9:11
RobJones28-Jul-04 9:11 
GeneralRe: How to redirect output to a file using shellexecute. Pin
David Crow28-Jul-04 9:27
David Crow28-Jul-04 9:27 
GeneralRe: How to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 9:29
RobJones28-Jul-04 9:29 
AnswerRe: How to redirect output to a file using shellexecute. Pin
SOCM_FP_CPP29-Jul-04 1:06
SOCM_FP_CPP29-Jul-04 1:06 
Hi Rob ,

I do not have an exact answer to ur query. but , if ur looking for ways
to redirect the out put of a child process (created using Win32 API )
, i have got some pointers.

Redirecting the output to file is actually piping the output to the file or
some other process in the chain. One can use Anonymous pipes to redirect
the output to a file . Exact mechanism which u have to look for is

How to Create Anonymous PIPES ?
How Handle to the process can be retrieved ?
( if ur using CreateProcess instead of shellexecute u can )
How u can pipe the process to anonymous pipe etc

when i gave a search in the google
(Search string - Anonymous pipe process creation win32) , i got an excellent article at the following url

http://www.codeguru.com/Cpp/misc/misc/article.php/c277

Hope this helps


Praseed Pai
www.praseedpai.com

GeneralHWND to CWND Pin
LudaLuda28-Jul-04 7:28
LudaLuda28-Jul-04 7:28 
GeneralRe: HWND to CWND Pin
jmkhael28-Jul-04 7:40
jmkhael28-Jul-04 7:40 
GeneralRe: HWND to CWND Pin
LudaLuda28-Jul-04 8:03
LudaLuda28-Jul-04 8:03 
GeneralRe: HWND to CWND Pin
David Crow28-Jul-04 8:14
David Crow28-Jul-04 8:14 
GeneralAllow only one instance of my app at a time Pin
Anonymous28-Jul-04 7:10
Anonymous28-Jul-04 7:10 
GeneralRe: Allow only one instance of my app at a time Pin
David Crow28-Jul-04 8:12
David Crow28-Jul-04 8:12 
GeneralSetWindowText problem - please look at that Pin
28-Jul-04 6:48
suss28-Jul-04 6:48 
GeneralRe: SetWindowText problem - please look at that Pin
jmkhael28-Jul-04 6:56
jmkhael28-Jul-04 6:56 
GeneralRe: SetWindowText problem - please look at that Pin
Igor Mihailov28-Jul-04 7:54
Igor Mihailov28-Jul-04 7:54 
GeneralRe: SetWindowText problem - please look at that Pin
David Crow28-Jul-04 8:17
David Crow28-Jul-04 8:17 
GeneralRe: SetWindowText problem - please look at that Pin
Jaime Stuardo28-Jul-04 8:42
Jaime Stuardo28-Jul-04 8:42 
GeneralRe: SetWindowText problem - please look at that Pin
bikram singh28-Jul-04 9:17
bikram singh28-Jul-04 9:17 
GeneralRe: SetWindowText problem - please look at that Pin
David Crow28-Jul-04 9:30
David Crow28-Jul-04 9:30 
Generalwhups Pin
bikram singh28-Jul-04 9:46
bikram singh28-Jul-04 9:46 
GeneralWindow OnPaint overrding Pin
act_x28-Jul-04 6:34
act_x28-Jul-04 6:34 
GeneralRe: Window OnPaint overrding Pin
Johan Rosengren28-Jul-04 9:05
Johan Rosengren28-Jul-04 9:05 
GeneralWin Xp vs 2K error Pin
doctorpi28-Jul-04 5:43
doctorpi28-Jul-04 5:43 

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.