Article View: borland.public.cppbuilder.nativeapi
Article #1963Re: Directoies with Vista
From: Bob Gonder
Date: Tue, 15 May 2007 17:06
Date: Tue, 15 May 2007 17:06
23 lines
1547 bytes
1547 bytes
patrickartaud wrote: >I don't understand why in my application Vista open read and write in some >directories MyAppp/Dir1 etc.... >and not other. Vista is "secure" If you want to write in non-approved areas, you (the user, not the programmer) must tell Vista that it is ok to do so. >Now I go to try to change all to put them in users/username/.....Like it was >said to me,but it is a lot of work!!!! Yes, but not so much work. Use SHGetSpecialFolderLocation() with one of these CSIDL_APPDATA CSIDL_COMMON_APPDATA CSIDL_PERSONAL CSIDL_COMMON_DOCUMENTS depending on your requirements. Works on Win95 too
Technical Details
Message-ID:
<kbpj43p2j49tmg9pmi5gva2qnrm2o6adu5@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46457573$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de68a4cdf3a87ee7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Directoies with Vista Date: Tue, 15 May 2007 10:06:58 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <kbpj43p2j49tmg9pmi5gva2qnrm2o6adu5@4ax.com> References: <46457573$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.147.10 X-Trace: newsgroups.borland.com 1179248817 67.77.147.10 (15 May 2007 10:06:57 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail