2020-03-30 18:01:44 +00:00
|
|
|
program LazStats;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
uses
|
|
|
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
|
|
|
cthreads,
|
|
|
|
{$ENDIF}{$ENDIF}
|
|
|
|
Interfaces, // this includes the LCL widgetset
|
|
|
|
Forms,
|
2020-04-04 11:25:29 +00:00
|
|
|
Globals, LicenseUnit, OptionsUnit, MainDM, MainUnit, utils;
|
2020-03-30 18:01:44 +00:00
|
|
|
|
|
|
|
{$R LazStats.res}
|
|
|
|
|
|
|
|
begin
|
|
|
|
RequireDerivedFormResource := True;
|
|
|
|
Application.Title:='';
|
|
|
|
Application.Scaled:=True;
|
|
|
|
Application.Initialize;
|
|
|
|
|
|
|
|
LoadOptions;
|
|
|
|
if not LoggedOn then
|
|
|
|
begin
|
|
|
|
if AcceptLicenseForm then
|
|
|
|
LoggedOn := true
|
|
|
|
else
|
|
|
|
Application.Terminate;
|
|
|
|
end;
|
|
|
|
|
|
|
|
Application.CreateForm(TMainDataModule, MainDataModule);
|
|
|
|
Application.CreateForm(TOS3MainFrm, OS3MainFrm);
|
|
|
|
Application.Run;
|
|
|
|
end.
|
|
|
|
|