[Lazarus] File open dialog doesn't work on an user account in Mac OS X

ghf03464 at nifty.ne.jp ghf03464 at nifty.ne.jp
Wed Feb 18 16:07:09 CET 2009


Dmitry,

I wrote a small test program named 'project1' in Lazarus. Essentially, the pro
gram contains only three lines as following;

procedure TForm1.FormCreate(Sender: TObject);
begin
  OpenDialog1.execute
end;

Under 32K-colour mode, the gdb said:

(gdb) run
Starting program: /Users/blackcat/Documents/FPCtest/LazTest/project1.app/Conte
nts/MacOS/project1 
Reading symbols for shared libraries .........................................
.......................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
TCarbonWidgetSet.GetSystemMetrics TODO 50
TCarbonWidgetSet.GetSystemMetrics TODO 49
Reading symbols for shared libraries . done
NavDialogCallback Error: NavCustomControl FilterIndex failed with result -5698
Reading symbols for shared libraries ....... done
Reading symbols for shared libraries .... done
Reading symbols for shared libraries .. done


Under errorous 16M-colour mode, I got:

(gdb) run
Starting program: /Users/blackcat/Documents/FPCtest/LazTest/project1.app/Conte
nts/MacOS/project1 
TCarbonWidgetSet.GetSystemMetrics TODO 50
TCarbonWidgetSet.GetSystemMetrics TODO 49
NavDialogCallback Error: NavCustomControl FilterIndex failed with result -5698

Program received signal EXC_ARITHMETIC, Arithmetic exception.
0x9f761c00 in approximateCube ()

These results help you?

Sincerely,
Haruo




More information about the Lazarus mailing list