TIP: Click on subject to list as thread! ANSI
echo: delphi
to: STEVE ROGERS
from: WOLFGANG GERLACH
date: 1997-06-02 14:07:00
subject: Re: shelling from Delphi

Hallo Steve,
SR>How can I run other programs from Delphi? In TP/BP I use the Exec
SR>procedure, but I can't find anything similar in Delphi. I am trying to
SR>make a menu program.
I have Delphi 2, but I think that you also can use this:
-----------------------------------
UINT WinExec(
    LPCSTR  lpszCmdLine,	// address of command line
    UINT  fuCmdShow 	// window style for new application
   );
------------------------------------
For example:
winexec(PChar(notepad), 1);
    Bye
          Wolfgang Gerlach
--- WollyPoint v3.11 R
---------------
* Origin: Wolfgang Gerlach - Germany (2:244/6254.56)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.