Date: Sun, 01 Apr 2001 19:46:34 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Combatra V" Message-Id: <7263-Sun01Apr2001194633+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <9a7gni$rd8$1@chatta.samart.co.th> (combator@hotmail.com) Subject: Re: Learn writing a CGI program, References: <9a7gni$rd8$1 AT chatta DOT samart DOT co DOT th> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Combatra V" > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 1 Apr 2001 22:21:00 +0700 > > I compiled and ran the following program with Cygwin tools. > It worked OK. > But when compiled it with djgpp tools - gcc 2.95.3, it didn't work. > It can run on the dos prompt. > But when it is a CGI, it didn't work. This is a known issue with Windows Web servers and DJGPP programs. See section 22.28 of the DJGPP FAQ list for more details. Rumor has it that if you wrap the DJGPP program with a batch file, it does work as a CGI program. You might try that.