program commandstation_project; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, unitmain, formtrainnode; {$R *.res} begin Application.Title:='CommandStationEmulator'; RequireDerivedFormResource := True; Application.Initialize; Application.CreateForm(TForm1, Form1); Application.CreateForm(TFormIsTrainNode, FormIsTrainNode); Application.Run; end.