Sign in Join

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

Mailing lists / lazarus / 2003-01

Not be opened

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Luis R. Hilario B.

Hello,

Using TFileStream.Create or LoadFromFile, produces an error:

An unhandled exception occurred at 0x080DB1B3 :
File filename can not be opened
0x080DB1B3 of lclstrconsts.pas

Mystery of Lazarus.
From a terminal it works well, but using the Menu: Run - Run, does not work nor using an explorer doing click (konqueror for example.).

Reply by email

Luis R. Hilario B.
to Luis R. Hilario B.
Mattias Gaertner wrote 47 lines
On Sat, 18 Jan 2003 18:49:26 -0400 "Luis R. Hilario B." wrote: >Luis R. Hilario B. wrote: > > > >>Mattias Gaertner wrote: >> >> >> >>>On Fri, 17 Jan 2003 21:04:41 -0400 >>>"Luis R. Hilario B." wrote: >>> >>> >>> >>> >>> >>>>Hello, >>>> >>>>Using TFileStream.Create or LoadFromFile, produces an error: >>>> >>>>An unhandled exception occurred at 0x080DB1B3 : >>>>File filename can not be opened >>>>0x080DB1B3 of lclstrconsts.pas >>>> >>>> >>>>Mystery of Lazarus. >>>>From a terminal it works well, but using the Menu: Run - Run, does >>>>not work nor using an explorer doing click (konqueror for example.). >>>> >>>> >>>> Your program opens the file in the current directory, which is set by Konqueror (Probably to your home directory). Use something like: procedure TForm1.Form1CREATE(Sender: TObject); begin SetCurrentDir(ExtractFilePath(ParamStr(0)));

Yes works! Thanks, many thanks.

Reply by email

Mattias Gaertner
to Luis R. Hilario B.: Using TFileStream.Create or LoadFromFile, produces an error: An unhandled exception…
Show quoted text 7 lines
Hello, Using TFileStream.Create or LoadFromFile, produces an error: An unhandled exception occurred at 0x080DB1B3 : File filename can not be opened 0x080DB1B3 of lclstrconsts.pas

Is this a crash in the IDE or in one of your applications?

Mystery of Lazarus. From a terminal it works well, but using the Menu: Run - Run, does not work nor using an explorer doing click (konqueror for example.).

Do you mean the IDE crashes if you run it from konqueror?

Mattias

Reply by email