Article View: borland.public.cppbuilder.nativeapi
Article #17424Re: How to get application's directory?
From: Rodolfo Frino - Stargate Softwar...
Date: Mon, 24 Mar 2003 10:29
Date: Mon, 24 Mar 2003 10:29
26 lines
2448 bytes
2448 bytes
> You have not paid much attenttion to anything that has been said before. > You **cannot** rely on that approach, as there are several external factors > that can alter the process's current working directly *on startup* before > your code ever gets a chance to start running. Yes, I did and I know (as Early showed us) that external factors can alter the current directory. However, you mentioned and then posted (on my request) an example that is completely irrelevant (and that you wrongly thought it was relevant) since I can overcome any internal change to the current directory done within the application via either an *unofficial* or an *official* start up code. Of course, I cannot overcome an external change as I mentioned in the post you just replied to: "However, if, as Early mentioned, if Windows Explorer (external change) changes the Current Directory internally when it launches the application (assuming we use WE), the thing could be different" So, you might read my previous post again since it seems to me that you are the one who did not pay much attention to what it has been said here. Rodolfo
Technical Details
Message-ID:
<3e7ee719@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!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> <3e7dba28@newsgroups.borland.com> <3e7e28c5$1@newsgroups.borland.com> <3e7e5a97@newsgroups.borland.com> <3e7e63ae$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-24 04:28:30 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> <3e7dba28@newsgroups.borland.com> <3e7e28c5$1@newsgroups.borland.com> <3e7e5a97@newsgroups.borland.com> <3e7e63ae$1@newsgroups.borland.com> Subject: Re: How to get application's directory? Date: Mon, 24 Mar 2003 21:29:55 +1100 Lines: 28 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.92 Message-ID: <3e7ee719@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048504089 203.129.132.92 (24 Mar 2003 03:08:09 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail