Board index » delphi » Use the function ExecProgram

Use the function ExecProgram

I want use the function "ExecProgram" and I haven't the name of the "uses"
and in the help, it isn't specified.

        Thank's for the answer.

 

Re:Use the function ExecProgram


  Look in the help file...  --  However, I've never seen this function...  Use
CreateProcess or ShellExecute...

--
Jason Wallace
SL Software
Dark...@SLSoftware.reno.nv.us
--
"We are Microsoft.  You will be assimilated.  Resistance is Futile."
--

Quote
Micky wrote in message <01bdf625$b3cfba00$f0c3fcc1@fti/TVAcRgK>...
>I want use the function "ExecProgram" and I haven't the name of the "uses"
>and in the help, it isn't specified.

> Thank's for the answer.
>TAKETHIS <6vtr9b$hp...@platane.wanadoo.fr>
>Path:

lunar.skycache.com!howland.erols.net!nntp.kreonet.re.kr!isdnet!wanadoo.fr!not-fo
r-mail
Quote
>From: "BARDIN Marc" <Marc.Bar...@wanadoo.fr>
>Newsgroups: comp.lang.ada
>Subject: Length & Last Attributes.
>Date: Mon, 12 Oct 1998 23:17:47 +0200
>Organization: Wanadoo - (Client of French Internet Provider)
>Lines: 25
>Message-ID: <6vtr9b$hp...@platane.wanadoo.fr>
>NNTP-Posting-Host: 164.138.227.14
>X-Newsreader: Microsoft Outlook Express 4.71.1712.3
>X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
>Xref: lunar.skycache.com comp.lang.ada:74571

>    How to get corrects values for Length & Last attributes for a string
>AFTER it has been defined in the program ?
>In the following example program, these 2  attributes aren't corrects after
>Max_Descripteur value is known.

>Anticipated thanks.
>Marc

>with Text_Io; use Text_Io;
>procedure Test_Tri_Fichier is

>   Max_Descripteur : Positive;
>   subtype Ch_L_Cha?ne is String (1..Max_Descripteur);
>   Fin_Sc : Positive range Ch_L_Cha?ne'range;
>   package Ent_Es is new Text_Io.Integer_Io (Integer);

>begin
>   Max_Descripteur := 5;
>   Put (" Length : "); Ent_Es.Put (Ch_L_Cha?ne'Length, 5);
>   Fin_Sc := Ch_L_Cha?ne'Last;
>   Put (" Fin_Sc : "); Ent_Es.Put (Fin_Sc, 5);
>end Test_Tri_Fichier;

Re:Use the function ExecProgram


Maybe you're thinking of WinExec().
Quote
Micky wrote:
> I want use the function "ExecProgram" and I haven't the name of the "uses"
> and in the help, it isn't specified.

>         Thank's for the answer.

Other Threads