0

I need to compile C++ code in my Windows application and append the results (output or execution errors) to a rich text box. I use CodeDomProvider Class but I'm unable to compile the code using C++ language. How can I do that?

1
  • 1
    This may be a stupid question but are you bundling a C++ compiler with your app? Commented May 21, 2010 at 14:42

1 Answer 1

3

You could just call the command line C++ compiler (cl.exe) file that comes with VS and pipe the output to somewhere suitable.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.