Bad Project Loading Problem lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- mmab · 2010-08-14 03:53 Hi, If you open a bad project which makes Lazarus crash, Lazarus will remember the last opened bad project and you can never get rid of it without editing lazarus startup file which is tedious. Is it possible to add a feature as in Firefox? Please add a variable before the lazarus close, and read it if it is true or not while loading. Code: [Select]unit.... var Form:Tform1; isUserClose : boolean; procedure form1.onclosequery ( .... ) begin   if msgdialog( 'do you want to exit Lazarus')=mrok then begin    isUserClose  := true;    save_lazarus_info;    exit; end; end; end; ---------------------------------------------------------------------- felipemdc · 2010-08-14 04:21 Which version are you using? I think that this is already implemented in 0.9.29 ---------------------------------------------------------------------- Martin_fr · 2010-08-14 10:18 If a project did crash Lazarus while being loaded, then normally Lazarus should ask you the next time, if you want to open the project again. If you open it again, and it succeeds the warning goes away. However (IIRC) there are/were a few bugs, were Lazarus did crash at startup, before it could do this check. Some of them (the ones that are known of) have been fixed in the SVN version. Also, if the project keeps crashing Lazarus, then you can never open the project again until you know what causes the problem and fix it (best to have a backup). But if you report a bug, then the crash should get fixed.