Date: Wed, 14 Oct 1998 12:02:11 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: John Richter cc: djgpp AT delorie DOT com Subject: Re: DJGPP & CGI Problem In-Reply-To: <36237A2B.3CB6B84D@yale.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 13 Oct 1998, John Richter wrote: > IIS reports > > CGI Error > > The specified CGI application misbehaved by not returning a complete > set of > HTTP headers. The headers it did return are: > > Note that this same code works perfectly when I compile it using > CodeWarrior. This leads me to believe that there's something about > CodeWarrior's idea of printf is different from djgpp's idea of printf, > and IIS agrees with CodeWarrior. I'm afraid it's much more serious than what you suspect. This issue has come up before and the conclusion was that it's impossible to get the server to invoke a CGI application that is compiled with DJGPP. I guess the server opens a pipe to the CGI that is implemented in a way that DOS programs don't support.