program SerialAsst; {$mode objfpc}{$H+} uses {$IFDEF UNIX} cthreads, {$ENDIF} {$IFDEF HASAMIGA} athreads, {$ENDIF} Interfaces, // this includes the LCL widgetset Forms, lazcontrols, mainunit, SerialManager { you can add units after this }; {$R *.res} begin RequireDerivedFormResource := True; Application.Scaled := True; Application.Initialize; Application.CreateForm(TMainForm, MainForm); Application.Run; end.