[fpc-pascal] Win32 CGI fails?

Alan Mead cubrewer at yahoo.com
Tue Jan 25 00:23:19 CET 2005


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

Alan at ADM ~/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

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





More information about the fpc-pascal mailing list