• Advertisement

Archived

This topic is now archived and is closed to further replies.

Using the VC++ Compiler within my code

This topic is 5552 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m just curious if there is any way to use the VC++ Compiler within my code. I would like to create a program that runs through a group of source files and checks them for errors... Any ideas? Thanks -Sash -5

Share this post


Link to post
Share on other sites
Advertisement
There is a command line compiler for visual c++ called cl.exe. You could run that on files and parse the errors.

I''m not sure if it exposes a COM interface or something similar, but haven''t seen anything about that.

Share this post


Link to post
Share on other sites
You might want to have a look at the make utility and makefiles in general.

MSVC ships with a variant : nmake.


[edited by - Fruny on December 7, 2002 9:42:19 AM]

Share this post


Link to post
Share on other sites

  • Advertisement