Date: Thu, 18 Nov 1999 18:01:39 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: The Advisor cc: djgpp AT delorie DOT com Subject: Re: CGI Problems In-Reply-To: <3833302d_4@news.cadvision.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 17 Nov 1999, The Advisor wrote: > I've made the infamous hello.exe to test out as a CGI script on my website. > As I can run any of the other scripts that came packaged with my http > server, I should be able to serve hello.exe right? Wrong. DJGPP programs are not Windows programs, and Windows runs them in their own Virtual Machine. The Web server needs to redirect stdin and stdout of CGI programs, but redirecting them from a different VM is a bit tricky (although possible). Many Windows Web servers don't bother to implement the trickery necessary to do this, so it doesn't work. Bottom line: you cannot use a DOS compiler to generate a CGI. Complain to Bill Gates.