Hello all,
I am trying to catch the output of a program I am calling using shellexecute() to (initially) a text file, but I am a little perplexed as to how to do it. The code executes properly and calls the ‘arp.exe’ app, but now I just need to pipe the output to the fstream…any ideas?
ShellExecute(NULL, "open","arp.exe", somearguments, NULL, SW_SHOWNORMAL)
Thanks guys,
Nick
I am trying to catch the output of a program I am calling using shellexecute() to (initially) a text file, but I am a little perplexed as to how to do it. The code executes properly and calls the ‘arp.exe’ app, but now I just need to pipe the output to the fstream…any ideas?
ShellExecute(NULL, "open","arp.exe", somearguments, NULL, SW_SHOWNORMAL)
Thanks guys,
Nick