Mega Code Archive

 
Categories / Delphi / Examples
 

Runextexe

procedure TCharMapForm.RunButtonClick(Sender: TObject); {just messin. Piece of piss to run an external exe. file using WinExec...} {just put the line below (with appropriate parameters) in an OnClick event handler (say) for a button on a form...} begin WinExec('WChrMap', SW_SHOWNORMAL); end;