MFC, run command such as "ping 127.0.0.1" and get stdout in a CString.


/ Published in: C++
Save to your folder(s)

Do the equivalent of ShellExecute or the Win16-compatible WinExec: Run a command. But, get the command's stdout output in a CString.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.