Martien de Groot mentioned this to All:
MdG> How does one execute another executable from within a Delphi
application?
MdG> This is what I have tried so far:
MdG> In the implementation section of the one and only unit so far I have
put:
MdG> function ShellExecute( hwnd: HWND; lpOperation : PChar;
MdG> lpFile : PChar; lpParameters : PChar; lpDirectory : PChar;
MdG> nShowCmd : Integer ) : Integer; far; external 'Shell.dll';
There's no need to do all this. Simply use the ShellApi unit, and it already
has ShellExecute declared.
...Gary
--- GoldED 2.41
---------------
* Origin: Nobody expects the Flying Circus BBS! (1:2410/905)
|