please help me to run Shellexecute

Posted by esmail on August 31, 2003

hello
when run Shellexecute in dlephi5,
the error :Undeclared identifier: 'ShellExecute' is appeared.
what's my wrong?
example:

procedure TForm1.Button1Click(Sender: TObject);
begin
  ShellExecute(Handle,'open',PChar('Notepad'),PChar('C:\readme.txt'),nil,SW_show);
end; 

thanks.

Related Articles and Replies:

 

Delphi Tutorials -- by DelphiLand