[Lazarus] ERROR in a simple console app
Marcos Douglas
md at delfire.net
Sat Jan 15 13:22:19 CET 2011
Guys,
I tried to run an app, converted from Delphi, and I found some errors...
So, I tried to run a simple app and I found errors too.
The code (copy here http://wiki.lazarus.freepascal.org/Console_Mode_Pascal):
program project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };
begin
WriteLn('Hello World!');
ReadLn;
end.
When I run inside Lazarus, happen this error:
Project project1.exe raised exception class 'RunError(103)'
When I run in line command, happen this error:
An unhandled exception occurred at $0040155B :
EInOutError : File not open
$0040155B main, line 10 of project1.lpr
My config:
WinXP - FPC 2.5.1 - Laz 0.9.31 (trunk)
Marcos Douglas
More information about the Lazarus
mailing list