🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Explorer type TreeView in Vista

#14
From: Mehmet Caner
Date: Fri, 18 Jul 2008 08:35
17 lines
1563 bytes
> There you go then.  That means the CSIDL_DRIVES enumerator is empty.

Dear Remy and Bob,

Thanks both of you.

I have changed the line:

 HRes = lpsf->EnumObjects(NULL, SHCONTF_NONFOLDERS, &lpeidl); // Works in XP 
SP2

to:

HRes = lpsf->EnumObjects(Handle, SHCONTF_STORAGE, &lpeidl); // Works in 
Vista

It works perfectly.
Technical Details
Message-ID: <488055fa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <487db2ae$1@newsgroups.borland.com> <487e421b$1@newsgroups.borland.com> <487f3e1b@newsgroups.borland.com> <487f8ba0@newsgroups.borland.com> <487fa20b@newsgroups.borland.com> <487fada3$1@newsgroups.borland.com> <487fb940@newsgroups.borland.com> <487fbfe2@newsgroups.borland.com> <487ff0aa@newsgroups.borland.com> <487ff5d7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d1c1213ec3c3ef45
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mehmet Caner" <mcaner40@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <487db2ae$1@newsgroups.borland.com> <487e421b$1@newsgroups.borland.com> <487f3e1b@newsgroups.borland.com> <487f8ba0@newsgroups.borland.com> <487fa20b@newsgroups.borland.com> <487fada3$1@newsgroups.borland.com> <487fb940@newsgroups.borland.com> <487fbfe2@newsgroups.borland.com> <487ff0aa@newsgroups.borland.com> <487ff5d7$1@newsgroups.borland.com>
Subject: Re: Explorer type TreeView in Vista
Date: Fri, 18 Jul 2008 11:35:58 +0300
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 88.232.251.93
Message-ID: <488055fa$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1216370170 88.232.251.93 (18 Jul 2008 01:36:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail