Guest User

Untitled

a guest
Jul 12th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. function ShellExecute(hWnd: LongInt; Operation, FileName, Parameters, Directory:
  2. PChar; ShowCmd: Integer): LongInt; external 'ShellExecuteA@shell32.dll stdcall';
  3.  
  4. const
  5. SW_SHOWNORMAL = 1;
  6.  
  7. begin
  8. ShellExecute(GetApplication.Handle, 'open', 'notepad.exe', '', '', SW_SHOWNORMAL);
  9. end.
Add Comment
Please, Sign In to add comment