🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Explorer type TreeView in Vista

#245
From: Mehmet Caner
Date: Thu, 17 Jul 2008 19:48
12 lines
1524 bytes
> Is FillTree() being entered at all?  If so, then the binding to 
> CSIDL_DRIVES is fine, but either SHGetMalloc() failed or the drives cannot 
> be enumerated. You need to more specific.

I stepped through the code. FillTree() function is called.

SHGetMalloc() and EnumObjects() functions are successfully called in 
FillTree().

The code only does not enter the while loop:

while (lpeidl->Next(1, &lpidlCurrent, &ulFetched) == S_OK) {
Technical Details
Message-ID: <487fa20b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!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>

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>
Subject: Re: Explorer type TreeView in Vista
Date: Thu, 17 Jul 2008 22:48:13 +0300
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 88.252.3.157
Message-ID: <487fa20b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1216324107 88.252.3.157 (17 Jul 2008 12:48:27 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1370