how to redirect the output of console to output window in vc++

P

pri2480

i have created an add in toolbar button which needs to run a command
line tool by clicking on it.But i have been to run the tool by clicking
on the button using CreateProcess & ShellExecute.Both of them run the
tool by opening up the console.Is there any other method to do it or
how can i redirect the output from the console to the vc++ output
window?any suggestions please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top