|
-
May 31st, 1999, 02:00 PM
#1
DOS - MFC
Hello,
I have a DOS program producing outputs. I want to be able to have access to these outputs so that I can store them in a String in my MFC program.
Eg: when you type command 'net name' under NT, the system displays your computer name et your username. In my MFC program, I call the function 'system("net name....")' to execute this command. Now, I wanna be able to get the get the message displayed in the DOS window.
Thank you.
Where there is a WISH, there is a WILL.
-
May 31st, 1999, 02:55 PM
#2
Re: DOS - MFC
Take a look at this article. "Redirecting Standard Output to a CEdit Control"
http://www.codeguru.com/misc/redirect.shtml
-Safai
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|