I compiled with the Digital Mars C compiler, included in the Zip file in this directory. Open a command window and CD do the directory with generatePDF.c in it. Run> C:\path\to\extracted\dm\bin\dmc.exe generatePDF.c The compiler will generate a Win32-executeable binary. Just copy this to a location on the web server and it should run. Check the following settings if the exe does not run on the server: 1. The folder it is in must have Scripts and Executeables enabled in IIS 2. Unknown CGI extensions must be enabled on IIS for the whole server