program Project1;
uses
Forms, Windows,
Dialogs, SysUtils, // 이거 꼭 넣으세염..
Unit1 in 'Unit1.pas' {Form1};
{$R *.RES}
begin
// 중복실행 막음
if FindWindow('TForm1', Nil) <> 0 then
begin
SetForegroundWindow(FindWindow('TForm1', Nil));
Exit;
end;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.