Código Delphi [-][Error] Unit1.pas(27): Declaration expected but 'USES' found [Error] Unit1.pas(30): Undeclared identifier: 'ShellExecute'
[Error] Unit1.pas(27): Declaration expected but 'USES' found [Error] Unit1.pas(30): Undeclared identifier: 'ShellExecute'
Código Delphi [-]procedure TForm1.Button1Click(Sender: TObject); uses ShellApi; ... begin ShellExecute(Handle, nil , PChar('C:\Boxes\Shell.exe'), nil, nil, SW_SHOWNORMAL); end; end.
procedure TForm1.Button1Click(Sender: TObject); uses ShellApi; ... begin ShellExecute(Handle, nil , PChar('C:\Boxes\Shell.exe'), nil, nil, SW_SHOWNORMAL); end; end.