Article View: borland.public.cppbuilder.nativeapi
Article #4044Re: Low preveleagde Registry key
From: Remy Lebeau (TeamB)
Date: Wed, 22 Mar 2006 18:39
Date: Wed, 22 Mar 2006 18:39
22 lines
1719 bytes
1719 bytes
"Regis St-Gelais" <regis.st-gelais@NOSPAMlaubrass.com> wrote in message news:44214233$1@newsgroups.borland.com... > I also need to store some configuration files (in XML). > I need a place that is common to all users and also a place > that is specific to each user. You need to use SHGetSpecialFolderLocation() for that: http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shgetspecialfolderlocation.asp For all users, use CSIDL_COMMON_APPDATA. For just the current user, you can use CSIDL_APPDATA or CSIDL_LOCAL_APPDATA. > P.S.: Remy Labeau sound French to me. Are you speaking French? No. Gambit
Technical Details
Message-ID:
<442199fb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44207220@newsgroups.borland.com> <442079bb$1@newsgroups.borland.com> <44214233$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c87ec7f17e7edbd6 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44207220@newsgroups.borland.com> <442079bb$1@newsgroups.borland.com> <44214233$1@newsgroups.borland.com> Subject: Re: Low preveleagde Registry key Date: Wed, 22 Mar 2006 10:39:59 -0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <442199fb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1143052795 68.69.17.41 (22 Mar 2006 10:39:55 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail