Article View: borland.public.cppbuilder.nativeapi
Article #15230Re: SHGetSpecialFolderLocation still not functioning on Win 95!
From: Helmut Giese
Date: Sun, 13 Jul 2003 11:12
Date: Sun, 13 Jul 2003 11:12
22 lines
1852 bytes
1852 bytes
On Sun, 13 Jul 2003 11:35:42 +0200, "Jos" <josnospambranders@fastmail.fm> wrote: >Going Insane wrote: >> The GetWindowsDirectory() and GetSystemDirectory() functions might >> work (have to test it), so thats 2 out of 3.... do you know of an >> alternative for method that works (should work) for getting the >> "Program Files" directory? >> >> Anyone else got some ideas for me? >> Zack. > >I think you will very rarely find a system where the "Program Files" >folder is not the same as: >- the first 3 characters of GetWindowsDirectory() (i.e. the drive) >- followed by "Program Files" (even for Windows versions in other >languages!). Well, no. On my German system it is "Programme", and I am pretty sure that on French, Spanish, Italien etc. systems it is something the "natives" understand, too. Best regards Helmut Giese
Technical Details
Message-ID:
<3f113e36.1209220@forums.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f105f7e@newsgroups.borland.com> <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.com> <3f10efcc$1@newsgroups.borland.com> <3f1127f1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,556d3fb208abaeda X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-13 04:30:20 PST From: hgiese@ratiosoft.com (Helmut Giese) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SHGetSpecialFolderLocation still not functioning on Win 95! Date: Sun, 13 Jul 2003 11:12:41 GMT Message-ID: <3f113e36.1209220@forums.borland.com> References: <3f105f7e@newsgroups.borland.com> <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.com> <3f10efcc$1@newsgroups.borland.com> <3f1127f1@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 80.136.131.114 X-Trace: newsgroups.borland.com 1058094707 80.136.131.114 (13 Jul 2003 04:11:47 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail