Hi there,
i have several executables (*.exe) on an windows2000 advanced server
running internet information services 5.0. The exe-Application produce
console-output. When i launch the files on the server they do not
display their results in the command-box but shortly a white window
pops up (only for a very short moment).
The executables where developed in objectpascal (aka delhi) and
compiled with that. These executables are real console-apps.
IUSR_[WEBSERVER-NAME] has full rights on the cgi-bin.
I've also set the "CreateCGIWithNewConsole"-Thing in the metabase to
TRUE (BOOL=1).
What else do i need to tell my iis to do???
It always throws out that the headers are incomplete and the cgi-app
misbehaved.
The Application looks like this:
assignfile(coutp,'');
rewrite(coutp);
writeln(coutp,'HTTP/1.1 200 OK');
writeln(coutp,'Content-type: text/html');
writeln(coutp); // this writes the extra CR for the headers
this is the part of the headers so far ... please help me!