Article View: borland.public.cppbuilder.nativeapi
Article #9995Re: Drive path and drive display name question
From: Mark Jacobs
Date: Fri, 28 May 2004 13:03
Date: Fri, 28 May 2004 13:03
20 lines
1904 bytes
1904 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:40b55c7e$1@newsgroups.borland.com...
> There is no single API function for that. What you can try doing, though,
> is using IShellFolder::ParseDisplayName() or SHParseDisplayName() to convert
> the display name into an ITEMIDLIST, and then pass that to
> SHGetPathFromIDList(). For example:
>
> #include <utilcls.h>
>
> LPITEMIDLIST IL_GetNext(LPCITEMIDLIST pidl)
> {
... and so on for 57 pages!!!
Remy, I hope I never have to debug your code. And I hope that MFC programming will be around for long enough
for your skills to become more widely noticed.
--
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
markj atty critical dotty co dotty uk
Technical Details
Message-ID:
<40b738bd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b5228c@newsgroups.borland.com> <40b55c7e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c795424ce368b5ed X-Google-Attributes: gid10cc67,public Reply-To: "Mark Jacobs" <markj atty critical dotty co dotty uk> From: "Mark Jacobs" <markj atty critical dotty co dotty uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <40b5228c@newsgroups.borland.com> <40b55c7e$1@newsgroups.borland.com> Subject: Re: Drive path and drive display name question Date: Fri, 28 May 2004 14:03:57 +0100 Lines: 22 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 81.144.157.8 Message-ID: <40b738bd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085749437 81.144.157.8 (28 May 2004 06:03:57 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail