ok, have you set the dir that its in to be able to execute files ??
I remember back when IIS 3 came out that you needed to get this DLL from
microsoft called ISAPI.DLL, and rename it to the name of your EXE then call
the dll I THINK....maybe not...its been a while, but that was only really
with WIN-CGI EXE's.
BuT I think you problem is that you need to set the dir where it is to be
able to execute files.
Jeremy Coulter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eion McIntosh (CHCH)
Sent: Tuesday, July 25, 2000 3:08 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: HTML Creation
Microsoft IIS version 4
Regards Eion
> -----Original Message-----
> From: Jerermy Coulter [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, 25 July 2000 14:45
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: HTML Creation
>
> what HTML Server are you using ??
>
> This matters....
>
> Jeremy Coulter
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Eion McIntosh (CHCH)
> Sent: Tuesday, July 25, 2000 2:40 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: HTML Creation
>
>
> Hi
>
> We are just in the process of starting to look at how to creating web
> pages out of Delphi.
> We have a copy of Mastering Delphi by Marco Cantu with an sample
> program
> (see below) for creating
> as sample web page with the current time on the fly.
>
> The program compile and run but only in a window.
> The example shows the address line as
> http://pentium/cgi-bin/cgidate.exe
> to run the program and display in the web browser.
> But we can't seem to make it run. We've tried directly off our server
> name and address but it just either executes in its
> on window or says it can't find page.
>
> What are we missing and have to do to get it to work?
>
> program CgiDate;
>
> {$APPTYPE CONSOLE}
>
> uses
> SysUtils;
>
> begin
> writeln ('HTPP/1.0 200 OK');
> writeln ('CONTENT-TYPE: TEXT/HTML');
> writeln;
> writeln ('<HTML><HEAD>');
> writeln ('<TITLE>Time at this site</TITLE>');
> writeln ('</HEAD><BODY>');
> writeln ('<H1>Time at this site</H1>');
> writeln ('<H2>');
> writeln (FormatDateTime(
> '"Today is " dddd, mmmm d, yyyy, ' +
> '"<br> and the time is" hh:mm AM/PM',
> Now));
> writeln ('</H2>');
> writeln ('<HR><I>Page generated by CgiDate.exe</I>');
> writeln ('</BODY></HTML>');
> end.
>
> Regard
> Eion McIntosh
> PPCS Ltd
> ----------------------------------------------------------------------
> -----
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
>
> ----------------------------------------------------------------------
> -----
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz