program Project1;
uses
Messages, SysUtils, Variants, Classes, Graphics, Controls,
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
var
StartTime: Double;
begin
Application.Initialize;
Form1:=Tform1.Create(application);
Form1.Show;
Form1.Update;
StartTime := Now;
while Now > StartTime + 0.5 * (1/24/60) do
begin
Application.ProcessMessages;
end;
Form1.Hide;
Form1.Free;
Application.Run;