I have a small unit 'ExeMod.pas' and in the Initialization section I have code like this
ShellExecute(Handle, 'open', PChar('My.exe'), PChar('-a'), nil, SW_SHOW);
I put ShellAPI in the unit's uses clause
but when I try to run a program that uses
ExeMod.pas I get this error
Undeclared identifier 'Handle'
what silly little thing am I forgetting to do...or what am I doing wrong?