Article View: borland.public.cppbuilder.nativeapi
Article #15229Re: SHGetSpecialFolderLocation still not functioning on Win 95!
From: Jos
Date: Sun, 13 Jul 2003 09:35
Date: Sun, 13 Jul 2003 09:35
23 lines
1890 bytes
1890 bytes
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!). To change this, the user really has to perform some very special tricks during the installation of the operating system. So maybe this could help you to create a workaround for Win95. -- Jos
Technical Details
Message-ID:
<3f1127f1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f105f7e@newsgroups.borland.com> <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.com> <3f10efcc$1@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 02:39:09 PST From: "Jos" <josnospambranders@fastmail.fm> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f105f7e@newsgroups.borland.com> <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.com> <3f10efcc$1@newsgroups.borland.com> Subject: Re: SHGetSpecialFolderLocation still not functioning on Win 95! Date: Sun, 13 Jul 2003 11:35:42 +0200 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 81.82.97.244 Message-ID: <3f1127f1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058088945 81.82.97.244 (13 Jul 2003 02:35:45 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail