How to create a CGI program with Visuall C++ Express Edition?
December 6, 2006 8:09 PM
Subscribe
Is it possible to use Microsoft Visual C++ Express Edition to create a CGI program to run under IIS?
I haven't done computer programming professionally for 5+ years, but I do work on my own web-based application to support the business I run.
Most of my application is Active Server Pages (VBScript and JavaScript), except for one CGI program written in C.
Until recently I had a copy of Visual Studio 6.0 (for which I didn't have the installation discs..) on my notebook computer. The hard drive died, and while I did have backups of all my source code, I did not have backups for the Visual C++ project configuration file(s) for the CGI program.
So, what I've got now is the C source file, and a downloaded copy of the free Express Edition of Visual C++. My problem is that I can't figure out how to recompile my C application to make it work as a CGI program.
I don't want to purchase the full Visual Studio suite just to compile this single program. If the Express Edition won't work, I would be interested in any other free compiler that will work. In fact, I'd prefer a simple command line compiler, if any exist.
posted by JeffL to computers & internet (12 comments total)
Now, the major difference (for you) between the Express and the normal editions is that Express doesn't come with all the library support. For example, MFC, ATL, .NET 1.0, and so on. This might be a problem, it might not. Hard to say until you start getting compile errors.
posted by sbutler at 8:30 PM on December 6, 2006