🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #166

Re: SHGetFolderPath in ShellAPI?

#166
From: Peter Haas
Date: Mon, 26 Jan 2004 21:41
31 lines
2208 bytes
Hi Matt,

Matt wrote in <4015827a$1@newsgroups.borland.com>:
> > SHGetFolderPath is declared in the SHFolder unit
> > ($(DELPHI)\Source\Rtl\Win\SHFolder.pas)

> Important call... gets its own unit.  :)

Moreover its own dll. :-)

The background is, that this function was introduce later with Win2k.

To use the SHGetFolderPath function in a Windows version before Win2k or
WinME, you need to update the System. There is a redistributable
Installer for Win95, Win98 and WinNT. This update is part of IE since
version 5 and every product of the MS Office2k suite and later versions.
Win98SE have the IE 5, there is no problem.

The redistributable Installer is available on the Microsoft Homepage:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm
My experience is, that you need this update very rarely.


BTW: Borland's SHFolder.pas is oudated. You can download a up to date
header conversion plus a unit for a easy Delphi like function call from
my homepage: http://jediplus.pjh2.de/download/ShFolder.zip

Bye Peter.
-- 
JEDI+ API, the active JEDI Header Conversions Project:
http://jediplus.pjh2.de
Technical Details
Message-ID: <401589be$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <401579db@newsgroups.borland.com> <40157C64.EDF55B99@no.spam.gmx.net> <4015827a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,93f2f86ad6d00508
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-26 13:57:09 PST
From: Peter Haas <newsgroupfeedback@pjh2.de>
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: SHGetFolderPath in ShellAPI?
Date: Mon, 26 Jan 2004 22:41:58 +0100
Reply-To: newsgroupfeedback@pjh2.de
References: <401579db@newsgroups.borland.com> <40157C64.EDF55B99@no.spam.gmx.net> <4015827a$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 Deutsch (Standard)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Hamster/2.0.0.0
NNTP-Posting-Host: 193.159.22.97
Message-ID: <401589be$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075153342 193.159.22.97 (26 Jan 2004 13:42:22 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail