Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-01

Win32 CGI fails?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alan Mead

On Linux, FPC creates nice CGI's but I cannot figure out what I'm doing wrong under Windows XP. Below you can see the error. This is on the FCL test CGI program. I ran this under Cgywin, but the same thing happens when I run it in a DOS command window (and, apparently, under Apache). I don't have the details, but the same error occured under FPC 1.9.4.

I just searched for "cgi fpc EAccessViolation" and found nothing... I don't know how to proceed. The fact that the line number is not shown means that the error isin the FCL or RTL or some other pre-compiled part, right?

-Alan

~/cgi
$ fpc -Cr -Co -gl testcgi.pp
Free Pascal Compiler version 1.9.6 [2004/12/31] for i386 Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling testcgi.pp
Linking testcgi.exe
60 Lines compiled, 0.5 sec

~/cgi
$ ./testcgi
An unhandled exception occurred at 0x00411276 :
EAccessViolation : Access violation
$00411276
$0006FFE0
$0006FEC8
$00080178
$000AB338