You are on page 1of 1

procedure TForm1.Button1Click(Sender: TObject); var FullProgPath: PChar; begin FullProgPath := PChar(Application.ExeName); WinExec(FullProgPath, SW_SHOW); Application.

Terminate; end;

You might also like