Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3670
Number of posts: 9122

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I have a hard question Posted by horde on 7 Nov 2002 at 5:08 AM
I have a hard question. In Win2000 platform I create a console process by a win32 stardard program and I wand to redierct his stard input, output, error handle. But it can't success. I find win2000 had not support stardard input/output handle in a win32 stardard program.
Who can tell me which technic may be resolve this question. I will be very acknowledgment.
Report
Re: I have a hard question Posted by AsmGuru62 on 7 Nov 2002 at 7:48 AM
: I have a hard question. In Win2000 platform I create a console process by a win32 stardard program and I wand to redierct his stard input, output, error handle. But it can't success. I find win2000 had not support stardard input/output handle in a win32 stardard program.
: Who can tell me which technic may be resolve this question. I will be very acknowledgment.
:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/creating_a_child_process_with_redirected_input_and_output.asp
Report
Re: I have a hard question Posted by horde on 8 Nov 2002 at 7:47 AM
: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/creating_a_child_process_with_redirected_input_and_output.asp
:
I had read this article. It describe the console application which create a child process and redirect the stardatd handle. But my Program is a Win32 stardard application, not a console application. I'm very misfortune.
Thank you very much for you reply.
Report
Re: I have a hard question Posted by KingTaco on 23 Dec 2002 at 3:31 PM
If you have an executable by the name of xxx.exe, to redirect the output would be:

xxx.exe > stdout.txt 2> stderr.txt < stdin.txt


: I have a hard question. In Win2000 platform I create a console process by a win32 stardard program and I wand to redierct his stard input, output, error handle. But it can't success. I find win2000 had not support stardard input/output handle in a win32 stardard program.
: Who can tell me which technic may be resolve this question. I will be very acknowledgment.
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.