Article View: borland.public.cppbuilder.nativeapi
Article #372Re: Delete File
From: Ted Lyngmo
Date: Fri, 18 Apr 2008 05:47
Date: Fri, 18 Apr 2008 05:47
32 lines
1863 bytes
1863 bytes
Bob & Remy, I'm sure you are right... Most of the code used when installing and updating my app is derived from what I've seen in the registry ... in W95 & W98 :-) Time to read up a bit... Thanks, Ted Bob Gonder wrote: > Ted Lyngmo wrote: > > >>Is there some sort of posix placement for apps./files in Windows >>nowadays? That'd be great! > > > Currently (Vista), C:Users/[UserName]/AppData/[Local or Roaming]/YourApp > > If you use old code, Vista places your data in c:ProgramData/, > same folder structure as Program Files. > I have no idea how many version of Windows that will last. > > You should be (for several releases of Windows now) using > the shell functions to get the data paths. > Such as SHGetFolderLocation and a few more SHGet.... > > You should be able to Google this group for code. >
Technical Details
Message-ID:
<480835d6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<480642de@newsgroups.borland.com> <i7id04173bdvc106ehdghd6sg7f137ngkf@4ax.com> <4807af87$1@newsgroups.borland.com> <jb3g04djp80ioes8ldigfmgmqqc45mppfv@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 18 Apr 2008 07:47:10 +0200 From: Ted Lyngmo <tedREMOVETHIS@lyncon.se> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: sv, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Delete File References: <480642de@newsgroups.borland.com> <i7id04173bdvc106ehdghd6sg7f137ngkf@4ax.com> <4807af87$1@newsgroups.borland.com> <jb3g04djp80ioes8ldigfmgmqqc45mppfv@4ax.com> In-Reply-To: <jb3g04djp80ioes8ldigfmgmqqc45mppfv@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.195.27.81 Message-ID: <480835d6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1208497622 85.195.27.81 (17 Apr 2008 22:47:02 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail