Article View: borland.public.cppbuilder.nativeapi
Article #13797Re: SpecialFolderLocation!
From: Remy Lebeau (TeamB)
Date: Sat, 13 Sep 2003 22:50
Date: Sat, 13 Sep 2003 22:50
28 lines
1760 bytes
1760 bytes
"Safari" <Safari@alloymail.com> wrote in message news:3F63A478.1080901@alloymail.com... > Not work in Win9X! why? Do you have IE5+ installed? CSIDL_PROGRAMFILES was introduced in v5.0 of Shlwapi.dll that is shipped with IE5. > Return me an empty value! You're not checking values at all. If SHGetSpecialFolderLocation fails, its return value tell you why it failed. > or Label1.Caption := GetPath($24); 0x0024 is CSIDL_WINDOWS, not CSIDL_PROGRAMFILES. CSIDL_WINDOWS was also introduced in Shlwapi.dll v5.0. Use GetWindowsDirectory() instead for systems where CSIDL_WINDOWS is not available. Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f639f01$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3F63A478.1080901@alloymail.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,64d61a6d0b62f704 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 16:02:00 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3F63A478.1080901@alloymail.com> Subject: Re: SpecialFolderLocation! Date: Sat, 13 Sep 2003 15:50:24 -0700 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f639f01$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063493377 207.175.226.26 (13 Sep 2003 15:49:37 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail