๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12772

Re: ParamStr() extraction

#12772
From: Jonathan Arnold
Date: Mon, 17 Nov 2003 15:26
15 lines
1897 bytes
Conny H๏ฟฝkansson wrote:
> Yes, the ExtractFileName() was the function i was looking for.
> A question on the Application->ExeName vs ParamStr(0): could you give a
> real-life example when i would use the Application->ExeName rather than the
> ParamStr() or vice-versa? Does it have to do with were the application i
> launched or what?

They are the same. Using ExeName is much more clearer, in my opinion,
than using ParamStr[0].

-- 
Jonathan Arnold         C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
    Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
Technical Details
Message-ID: <3fb8e8af$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com> <3fb81ad3$1@newsgroups.borland.com> <3fb81b63$1@newsgroups.borland.com> <3fb8a238@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,470da9c3a4dba621
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-17 07:40:04 PST
Date: Mon, 17 Nov 2003 10:26:40 -0500
From: Jonathan Arnold <jdarnold@buddydog.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031030 MultiZilla/1.5.0.3l
X-Accept-Language: en-us, en, ja
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: ParamStr() extraction
References: <3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com> <3fb81ad3$1@newsgroups.borland.com> <3fb81b63$1@newsgroups.borland.com> <3fb8a238@newsgroups.borland.com>
In-Reply-To: <3fb8a238@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 66.92.76.225
Message-ID: <3fb8e8af$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069082799 66.92.76.225 (17 Nov 2003 07:26:39 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail