I inherited a c++ application that runs some commands using 'ShellExecuteEx', specifically using appcmd.exe. I would like to be able to run the command and then get the return data as I would see it if I ran it from the commandline.
I don't necessarily want to use ShellExecuteEx, but if I don't use that I need to run something pretty simple, as I am not used to c++ programming. My background is more of C# and similar languages.