🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get application's directory?

#17593
From: Remy Lebeau (TeamB)
Date: Sun, 23 Mar 2003 05:34
15 lines
1715 bytes
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.


Gambit

"Early Ehlinger" <early@respower.com> wrote in message
news:3e7cfd40$1@newsgroups.borland.com...

> Anyway, you can't rely on GetCurrentDirectory to tell
> you the directory anyway, because the process that
> launches your application (typically explorer) could set
> the startup directory to something other than your exe's
> location.
Technical Details
Message-ID: <3e7d4518$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
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>

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:03:29 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.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>
Subject: Re: How to get application's directory?
Date: Sat, 22 Mar 2003 21:34:24 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e7d4518$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048397080 207.175.226.26 (22 Mar 2003 21:24:40 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail