please help me to run Shellexecute


[ Delphi Forum ] [ Delphi Tutorials -- by DelphiLand ]

Posted by esmail on August 31, 2003 at 07:43:53:

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 Forum ] [ Delphi Tutorials -- by DelphiLand ]