Posted by WAllison on December 01, 2001 at 12:52:34:
In Reply to: ShellExecute problem posted by Jeroen Veurink on November 25, 2001 at 17:30:23:
: I have a bit of a problem.
: I want to make a program with one button (in delphi6.0)
: If you press the button, it suppose to start a extern program like
: To open the program (notepad) I used: ShellExecute Handle, 'open',
: PChar('notepad'), nil, nil, SW_SHOW.
: But when i compile the program, it says:
: "[Error] Unit1.pas(28): Undeclared identifier: 'ShellExecute'"
: Can anybody please help me ?
Add ShellAPI to the uses clause at the top of your code.
Related Articles and Replies