Mail Archives: djgpp/1998/02/06/21:32:00
From: | aurelio rodriguez <aurelior AT geocities DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | again problems djgpp&rsxnt&stdout
|
Date: | Fri, 06 Feb 1998 10:30:41 +0100
|
Organization: | Unisource Espana NEWS SERVER
|
Lines: | 20
|
Message-ID: | <34DAD841.BE4B15B3@geocities.com>
|
NNTP-Posting-Host: | www.medusa.es
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi! These days i've been posting several problems i'm having while
trying to put some gnuish programs to work under djgpp , they are cgi's
running under m$ IIS .
The fact is that after several trials and coping with some errors ,
sending html code to stdout doesn't work! Have a look :
(rest of code is evident)
1 ) cout << "Content-type: text/html\n\n<html>blablabla</html>\n"
I execute it via input form and -- Cgi header error. (no header
response)
2 ) printf("Content-type: text/html\n\n<html>blablabla</html>\n");
Same as 1). Nothing to do with stdio but with djgpp under IIS , i
suppose.
Have tried flushes , setbufs and all that.
Compiling it under M$vc++ , all's OK.
Compiling it with rsxnt , lotsa sigsevs rsxnt.dll around.
If you have any idea , i'll appreciate it.
Regards from
aurelio.
- Raw text -