program OpenRouterOS; {$mode delphi}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, SysUtils, // this includes the LCL widgetset Forms, UFormMain, UFormLogin, UFormTerminal, UFormRouterboard, UTerminal, URouterboard, UDevice, URouterOS, ULinux, UContext { you can add units after this }; {$if declared(UseHeapTrace)} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} {$R *.res} begin {$if declared(UseHeapTrace)} DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} RequireDerivedFormResource:=True; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TFormLogin, FormLogin); Application.Run; end.