From: "John A. Kaliski" Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP - Running *.exe CGI's written in ANSI C off the web Date: Mon, 08 Sep 1997 01:27:43 -0700 Organization: Mankato State University Lines: 46 Message-ID: <3413B6FD.211CFFFE@krypton.mankato.msus.edu> References: <33FCC790 DOT 55D5 AT ns DOT sympatico DOT ca> <3411E468 DOT 22A2 AT st DOT mff DOT cuni DOT cz> NNTP-Posting-Host: dialin-101.mankato.msus.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jenda, I think you must be right. I was having the same problem with DJGPP & CGI. I switched to MS Visual C++ and now everything works fine. A Thousand thanks for the info:-) John Jan Krynicky wrote: > Visionary wrote: > > > > If anybody could help me with this, it would be much appreciated. > > > > The situation: > > > > I have a Windows NT Pentium Pro running IAS, and > PERL for Win32. Our > > perl scripts work great, but when I try to run an *.exe CGI written > in > > C, (ie: I reference the exe in my > >
tag), I get an error saying > the > > proper headers could not be returned, yet the exe works ok if I run > it > > from the DOS window command line. > > > > NOTE: I compiled the exe with DJGPP - the GNU ANSI C > compiler ported > > over for the IBM PC DOS environment. I compiled it on the NT machine > > > under the DOS window. > > > > > > Does the DJGPPP create DOS appilactions or WinNT Console applications? > > I was unable to use the first (Borland Pascal7.0 for DOS), > but had no problems with the second (MSVC 4.0). > > HTH, Jenda