Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalrebar animation Pin
alex.barylski28-Jul-04 9:23
alex.barylski28-Jul-04 9:23 
GeneralDialog Pin
S.DARWIN PAUL RAJ28-Jul-04 9:18
S.DARWIN PAUL RAJ28-Jul-04 9:18 
GeneralRe: Dialog Pin
David Crow28-Jul-04 9:28
David Crow28-Jul-04 9:28 
GeneralRe: Dialog Pin
Anonymous28-Jul-04 19:38
Anonymous28-Jul-04 19:38 
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 
> = redirect output
>> = append redirected output

Neither > nor >> work with Shellexecute. I may have to use CreateProcess instead of shellexecute because I am waiting on a single object 'ShExecInfo.hProcess' to give the user a chance to kill the running process.

Everything is already coded with ShellExecute using SHELLEXECUTEINFO and it works great minus not being able to redirect the output to a file... It would suck to have to go back through my code and change all the ShellExecutes to CreateProcess, and I dont think system() would fit my application.

Thanks anyway,
Rob



Whoever said nothing's impossible never tried slamming a revolving door!
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 
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 

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.