Guest User

Untitled

a guest
Jan 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. procedure TForm1.Button1Click(Sender: TObject);
  2. var HW:hwnd;
  3. begin
  4. ShellExecute(Handle,'open','C:Windowssystem32calc.exe',nil,nil,SW_SHOW);
  5. sleep(100);
  6. hw:=FindWindow(nil,'');
  7. SetParent(Form1);
  8. end;
Add Comment
Please, Sign In to add comment