SaveDialog does not work in Windows XP lazarus / 8-Other ---------------------------------------------------------------------- newman · 2008-03-31 07:14 Hi, I just installed lazarus, I wanted to use the SaveDialog Control in my project. The project compiles well and runs, but when I use the SaveDialog.Create procedure I get the error, 'Project raised exception class EComponentError', Then a request to serach for a file compon.inc, was shown Here is the code extract that I am using to show the dialogbox Code: [Select] {The declaration} SaveDialog1: TSaveDialog; procedure TForm1.MenuItem3Click(Sender: TObject); begin    SaveDialog1.Create(self); end; Thanks a ---------------------------------------------------------------------- Leledumbo · 2008-03-31 08:14 Try Code: [Select] SaveDialog1:=TSaveDialog.Create(self); constructors are class method, not instance method. ---------------------------------------------------------------------- newman · 2008-03-31 09:18 The program compiled OK, and also executed, this time there was error of any kind, but the Save Dialog simply would not open. thanks a ---------------------------------------------------------------------- Leledumbo · 2008-04-01 05:16 Quote...there was error of any kind, but the Save Dialog simply would not open. What kind of error? ---------------------------------------------------------------------- newman · 2008-04-01 07:37 Sorry I meant there was no error, the save dialog simply did not show.. ---------------------------------------------------------------------- Leledumbo · 2008-04-01 08:22 Yes, because you didn't call Execute method. A common usage of this kind of component (dialogs): Code: [Select] procedure TForm1.MenuItem3Click(Sender: TObject); begin   with TSaveDialog.Create(self) do     try       // Set some properties       if Execute then begin         // Do something if users click "OK" button       end;     finally       Free;     end; end; ---------------------------------------------------------------------- newman · 2008-04-01 09:08 Excellent the code works now...I am able to open the SaveDialog window But whenever I navigate to My Computer an error is raised, the error is Project raised exception class 'External: SIGSEGV' I am using WindowsXP thanks n ---------------------------------------------------------------------- Leledumbo · 2008-04-02 04:03 Could you post your code? There's also a chance that there's a bug in the component. ---------------------------------------------------------------------- Bart · 2008-04-02 09:50 You probably run the program from within the IDE? This seems to be a gdb (the debugger) error, it is known and people are working on it AFAIK. Run the program from outside the IDE (double-click on the compiled program from within the Windos Explorer) an report back if the error still happens. Bart