🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15225

Re: SHGetSpecialFolderLocation still not functioning on Win 95!

#15225
From: Bob Gonder
Date: Sun, 13 Jul 2003 01:11
16 lines
1696 bytes
"Zack" <a@bv.com> wrote:

>I need to get the locations of special folders on all Windows platforms.  So
>I am using the SHGetSpecialFolderLocation and SHGetPathFromIDList functions
>which are supported on win 95 and up.
>
>This works fine on 2K, but when I test on 95 I have troubles.  Mainly - the
>call fails and GetLastError reports that the specified procedure could not
>be found.

>if( SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_SYSTEM, &pidl)) )

Maybe nothing, but my help doesn't say anything about CSIDL_SYSTEM.
Maybe it was added later (after '95).

What's wrong with GetSystemDirectory() ?
Technical Details
Message-ID: <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.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-mail
References: <3f105f7e@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-12 18:14:45 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: SHGetSpecialFolderLocation still not functioning on Win 95!
Date: Sat, 12 Jul 2003 18:11:18 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <h7c1hv8ufrs2hb0d0lqka3c87acg8aim5m@4ax.com>
References: <3f105f7e@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.147
X-Trace: newsgroups.borland.com 1058058655 67.31.165.147 (12 Jul 2003 18:10:55 -0700)
Lines: 19
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