🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get application's directory?

#17595
From: Rodolfo Frino - Stargate Softwar...
Date: Sun, 23 Mar 2003 13:15
9 lines
1508 bytes
> 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.  See the CreateProcessApi for details.

Thanks for that.

Rodolfo
Technical Details
Message-ID: <3e7dbc71@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed.freenet.de!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:14:38 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>
Subject: Re: How to get application's directory?
Date: Mon, 24 Mar 2003 00:15:34 +1100
Lines: 11
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: <3e7dbc71@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048427633 203.129.132.110 (23 Mar 2003 05:53:53 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail