Article View: borland.public.cppbuilder.nativeapi
Article #17611Re: How to get application's directory?
From: Rodolfo Frino - Stargate Softwar...
Date: Sun, 23 Mar 2003 13:26
Date: Sun, 23 Mar 2003 13:26
25 lines
1862 bytes
1862 bytes
Thanks a lot. Rodolfo > Also, If a program is set to launch automatically in the Registry, via > the key .... > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run > > It is my experience that it does not start in the path the Application > is located... > > Thus ExtractFilePath(Application->ExeName); > is your best bet! > > > > "Remy Lebeau (TeamB)" wrote: > > > > That is another very good point I forgot to mention. The same thing also > > applies to applications that are started from simple shortcuts which have > > their "Start In" field specified. > >
Technical Details
Message-ID:
<3e7dbf1a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e7a7800$1@newsgroups.borland.com> <3e7a8e39@newsgroups.borland.com> <3e7ae7af$1@newsgroups.borland.com> <3e7c7c8c@newsgroups.borland.com> <3e7cc472$1@newsgroups.borland.com> <3e7cd82a@newsgroups.borland.com> <3e7cfd40$1@newsgroups.borland.com> <3e7d4518$1@newsgroups.borland.com> <3E7DB15B.E950C26A@cablenett.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,440cb76ba9be739c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-23 23:53:33 PST From: "Rodolfo Frino - Stargate Software" <starcinema@eftel.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e7a7800$1@newsgroups.borland.com> <3e7a8e39@newsgroups.borland.com> <3e7ae7af$1@newsgroups.borland.com> <3e7c7c8c@newsgroups.borland.com> <3e7cc472$1@newsgroups.borland.com> <3e7cd82a@newsgroups.borland.com> <3e7cfd40$1@newsgroups.borland.com> <3e7d4518$1@newsgroups.borland.com> <3E7DB15B.E950C26A@cablenett.net> Subject: Re: How to get application's directory? Date: Mon, 24 Mar 2003 00:26:56 +1100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 203.129.132.110 Message-ID: <3e7dbf1a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048428314 203.129.132.110 (23 Mar 2003 06:05:14 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail