program project1; {$mode objfpc}{$H+} {$apptype console} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms { you can add units after this }, Unit1; {$IFDEF WINDOWS}{$R manifest.rc}{$ENDIF} begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end.