Hiya, I was wondering the best way to debug an ISAPI? I have one project
that IIS insists on returning "Internal Server Error" messages for, from
looking at the logs my dll writes (or is supposed to write), it doesnt seem
like the DLL is even reaching any of my code.
I'm guessing its possibly some problem in my DPR or something, but not
sure, this is what I have (USE_ISAPI is defined in the project options):
{$IFDEF USE_ISAPI}
library td;
{$ELSE}
program td;
{$APPTYPE CONSOLE}
{$ENDIF}
uses
HTTPApp,
{$IFDEF USE_ISAPI}
ISAPIApp,
{$ELSE}
CGIApp,
{$ENDIF}
td1 in 'td1.pas' {WM: TWebModule},
pplutes in 'pplutes.pas';
{$R *.RES}
{$IFDEF USE_ISAPI}
exports
GetExtensionVersion,
HttpExtensionProc,
TerminateExtension;
{$ENDIF}
begin
IsMultiThread := True;
Application.Initialize;
Application.CreateForm(TWM, WM);
Application.Run;
end.
--
There are exceptions, I'm sure, but the Windows 2000 on-line community
seems to have, in general, the moral and spiritual qualities of your
average porn site. (c) Bryan Pfaffenberger, Linux Journal, Jan 2001.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"