🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHGetFolderPath in ShellAPI?

#163
From: Sasan Adami
Date: Mon, 26 Jan 2004 20:45
15 lines
1636 bytes
Matt wrote:
> 
> I'm trying to write a function to return various user paths (Desktop, My
> Documents, Start Menu, etc.).  Everything I've seen references
> SHGetFolderPath, but I can't find it.  I'm using Delphi 6 Pro with all the
> latest patches and library updates.  Is that API call something that they
> just forgot, and I need to upgrade to D7, or am I just looking in the wrong
> place?  It looks like it should be defined in ShellAPI, but it's not.  A
> GREP-like search of the entire Borland tree turned up no reference.  Anyone
> know where this is?

SHGetFolderPath is declared in the SHFolder unit
($(DELPHI)\Source\Rtl\Win\SHFolder.pas)

Sasan.
Technical Details
Message-ID: <40157C64.EDF55B99@no.spam.gmx.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <401579db@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:02:13 PST
Message-ID: <40157C64.EDF55B99@no.spam.gmx.net>
Date: Mon, 26 Jan 2004 21:45:24 +0100
From: Sasan Adami <s.adami@no.spam.gmx.net>
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: SHGetFolderPath in ShellAPI?
References: <401579db@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.234.25.144
X-Trace: newsgroups.borland.com 1075149926 62.234.25.144 (26 Jan 2004 12:45:26 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail