2012-06-04 01:06:42 +00:00
|
|
|
program project1;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
uses
|
|
|
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
|
|
|
cthreads,
|
|
|
|
{$ENDIF}{$ENDIF}
|
|
|
|
Interfaces, // this includes the LCL widgetset
|
2017-07-08 22:13:10 +00:00
|
|
|
LCLVersion, Forms, Unit1, Unit2
|
2012-06-04 01:06:42 +00:00
|
|
|
{ you can add units after this };
|
|
|
|
|
|
|
|
{$R *.res}
|
|
|
|
|
|
|
|
begin
|
2017-10-12 17:48:39 +00:00
|
|
|
{$IF LCL_FullVersion >= 1080000}
|
|
|
|
Application.Scaled:=True;
|
2017-07-08 22:13:10 +00:00
|
|
|
{$ENDIF}
|
2012-06-04 01:06:42 +00:00
|
|
|
RequireDerivedFormResource := True;
|
|
|
|
Application.Initialize;
|
|
|
|
Application.CreateForm(TForm1, Form1);
|
|
|
|
Application.Run;
|
|
|
|
end.
|
|
|
|
|