when I create new (Hello World) or open an old FreeSpider application and assign a path in Project Options/Compiler Options/Paths/Target File Name (-o)
I've entered something like this: c:\apache\cgi-bin\first.exe
Then I get this error when I run the application from command line:
C:\Apache\cgi-bin>first
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$00000000
$0041C7B5
$004177AB
$00430B43 INITCOMPONENT, line 3072 of lresources.pp
$004309A4 INITLAZRESOURCECOMPONENT, line 3092 of lresources.pp
$0042FB37 INITRESOURCECOMPONENT, line 766 of lresources.pp
$0041A111
$00422435 DATA_init, line 126 of data.pas
$0040AF34
TApplication.HandleException Access violation
Stack trace:
$00000000
$0041C7B5
$004177AB
$00430B43 INITCOMPONENT, line 3072 of lresources.pp
$004309A4 INITLAZRESOURCECOMPONENT, line 3092 of lresources.pp
$0042FB37 INITRESOURCECOMPONENT, line 766 of lresources.pp
$0041A111
$00422435 DATA_init, line 126 of data.pas
$0040AF34
[FORMS.PP] ExceptionOccurred
C:\Apache\cgi-bin>
I get this error in Lazraus 0.9.30 and .31 in Windows. When I remove this configuration and let the executable to be generated in the same directory, it works fine.
I was wondering what is the difference between assign output file name and leave it empty, that makes the application generates error