🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12170

Re: ShellExecute with Wait option

#12170
From: Peter Below (TeamB)
Date: Fri, 22 Nov 2002 18:43
18 lines
1608 bytes
In article <VA.0000009f.002bcf80@mgcsoft.com>, Gordon Whittam wrote:
> > Begin { WinExecAndWait32V2 }
> >     StrPCopy(zAppName,FileName);
> >
> 
> I've wondered before why you don't do a FillChar on zAppName, isn't 
> it necessary?

No, the StrPCopy routine makes the zAppname properly zero-terminated.


--
Peter Below (TeamB)  
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
Technical Details
Message-ID: <VA.00009666.008654c8@antispam.compuserve.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!ngpeer.news.aol.com!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3ddd3dac@newsgroups.borland.com> <3DDD8C74.C2F7A165@borland.newsgroups> <VA.0000009f.002bcf80@mgcsoft.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,45420977dda024ad
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-22 11:16:00 PST
Date: Fri, 22 Nov 2002 19:43:33 +0100
Newsgroups: borland.public.delphi.nativeapi
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Organization: TeamB
Message-ID: <VA.00009666.008654c8@antispam.compuserve.com>
Subject: Re: ShellExecute with Wait option
From: "Peter Below (TeamB)" <100113.1101@compuXXserve.com>
Reply-To: 100113.1101@compuXXserve.com
References: <3ddd3dac@newsgroups.borland.com> <3DDD8C74.C2F7A165@borland.newsgroups> <VA.0000009f.002bcf80@mgcsoft.com>
NNTP-Posting-Host: 62.226.189.68
X-Trace: newsgroups.borland.com 1037990603 62.226.189.68 (22 Nov 2002 10:43:23 -0800)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!ngpeer.news.aol.com!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail