🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IShellFolder::GetDisplayNameOf FileName with extension

#1174
From: Asger Jørgensen
Date: Fri, 19 Oct 2007 01:05
29 lines
1964 bytes
Hi Remy

In article <4717de62@newsgroups.borland.com>, 
no.spam@no.spam.com says...
> 
> "Asger Jørgensen" <junk@Asger-P.dk> wrote in message 
> news:MPG.2181d8e14a7e5fb989858@newsgroups.borland.com...
> 
> > SHGDN_FORPARSING
> > and this one gives the full path
> 
> What ITEMIDLIST are you giving to GetDisplayNameOf()?  Where are you getting 
> it from?  Are you using the IShellFolder of the root Desktop namespace or of 
> a specific parent folder?  Please show an actual code example that 
> demonstrates the problem.

Well I was actually only reading the helpfile
to see which function to use, but since I need 
the size of the files as well i am using
SHGetDataFromIDList which gives me both the 
size and the kind of name that I need.

But I have new problems, see my other question.

Thanks for all the help
Kind regards
Asger
Technical Details
Message-ID: <MPG.2182214b839a08e598985a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <MPG.2181d8e14a7e5fb989858@newsgroups.borland.com> <4717de62@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,837423057db5c2d9
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,UTF8
From: Asger Jørgensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: IShellFolder::GetDisplayNameOf  FileName with extension
Date: Fri, 19 Oct 2007 03:05:39 +0200
Message-ID: <MPG.2182214b839a08e598985a@newsgroups.borland.com>
References: <MPG.2181d8e14a7e5fb989858@newsgroups.borland.com> <4717de62@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.201.25
X-Trace: newsgroups.borland.com 1192755930 83.73.201.25 (18 Oct 2007 18:05:30 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail