May be, it has been fixed (I'm not up to date). So, in auto-created .lpr there is a line Application.CreateForm(Form1,TForm1); Should be Application.CreateForm(TForm1,Form1);