delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/03/12:43:01

Message-Id: <3.0.1.16.19990703162103.2b7f898e@mail.cybercable.fr>
Organization: Michelle's Internet Service
X-Link: http://www.michelle-is.com/index.htm
X-Moto: Micr0$oft = What do you want to crash today?
X-Sender: starone AT mail DOT cybercable DOT fr
X-Mailer: Windows Eudora Pro Version 3.0.1 (16)
Date: Sat, 03 Jul 1999 16:21:03 +0300
To: djgpp AT delorie DOT com
From: Michelle Konzack <starone AT cybercable DOT fr>
Subject: Re: !(DJGPP && CGI && SAMBA)??
In-Reply-To: <LOBBKLEPLBKLOKFELHOIIEFECDAA.djgpp@niemeyer.net>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 02:17 01.07.1999 -0300, you wrote:
--------> This was the original Message:
MK>
MK>I really can't understand what's happening here. Maybe someone else
MK>can.
MK>
MK>I'm using DJGPP to develop a CGI system that do some math calculations
MK>and should return some values. It isn't complicated at all and it's compiling
MK>and linking without any problems and also runs ok in command line. but when 
MK>I try to run it as a CGI program Samba reports that there is no output from
MK>CGI. What surprise me after some tests is that there is really no output at
MK>all and it's exiting with errorcode 1. After that I used Cygwin to compile
MK>exactly the same code and it's working fine. 
MK>
MK>Could it be a DPMI problem inside Win98???
MK>
MK>Could it be a DJGPP bug? Maybe a bug in my brain? :-)
MK>
MK>
MK>Gustavo Niemeyer
MK>
--------> The Reply begins here:

Hello,

the difference is, that DJGPP create DOS executables and 
CygWin Windows executables.

In CGI-DOS the server creates 3 files 

        H5273672.in
        H5273672.acc
        H5273672.bat

In CGI-Win the server cerates

        H5273672.in
        H5273672.acc
        H5273672.ini

Does you get all files ???
Does your CGI create the OUTPUT file correctly ???

        H5273672.out
        and the CGI close correctly ???

The Server will send the Data back, when the CGI-Program 
close. But if is there no output file, the Server sends 
"Document contains no Data" back to the client.

Webmistress Michelle

P.S.:   I am running CGI-Win with VB3 without any problems 
        on WfW311, Win95, Win98, WinNT351 and WinNT40.

        Its easier and you can get them in occasion for less then 100 US$.

--
Michelle's Internet Service

http://www.michelle-is.com/index.htm                        
mailto:starone AT cybercable DOT fr                                
                                                            
Michelle, Andrea-Cinderella Konzack                         
11, rue de Rosheim                 67000 Strasbourg - France
Mob. 0033 / 06.62.61.78.37                                         |
    ___    _ _____ _____  ____       __   _                 
   / _ \  /// ___// __ // __ /      / /  (_)__  __ ____  __ 
  / /_//_/// /_/// /_/// /_//      / /__/ / _ \/ // /\ \/ / 
 /____//_//____//_/   /_/         /____/_/_//_/\_,_/ /_/\_\ 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019