Djibril
May 31st, 1999, 02:00 PM
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.
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.