Article View: borland.public.cppbuilder.nativeapi
Article #371Re: Delete File
From: Bob Gonder
Date: Fri, 18 Apr 2008 03:04
Date: Fri, 18 Apr 2008 03:04
16 lines
1504 bytes
1504 bytes
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:
<jb3g04djp80ioes8ldigfmgmqqc45mppfv@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<480642de@newsgroups.borland.com> <i7id04173bdvc106ehdghd6sg7f137ngkf@4ax.com> <4807af87$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Delete File Date: Thu, 17 Apr 2008 20:04:51 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <jb3g04djp80ioes8ldigfmgmqqc45mppfv@4ax.com> References: <480642de@newsgroups.borland.com> <i7id04173bdvc106ehdghd6sg7f137ngkf@4ax.com> <4807af87$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.145.64 X-Trace: newsgroups.borland.com 1208487887 67.77.145.64 (17 Apr 2008 20:04:47 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail