๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHGetDataFromIDList fails on temporary internet files

#1103
From: Remy Lebeau (TeamB)
Date: Mon, 22 Oct 2007 22:35
25 lines
2337 bytes
"Asger J๏ฟฝrgensen" <junk@Asger-P.dk> wrote in message 
news:MPG.21872af521ad1e3a989874@newsgroups.borland.com...

>> What errors are you referring to?  You did not show the code
> > that is outputting that information.
>
> I thought I did sorry, It was GetLastError(), so infact
> they all give the same error in return from the function
> call.

That is not what I was referring to.  You have not shown any code that is 
operating on the individual files.  Only the code that is looping through 
the folders.  So you have not shown how you are gathering error information 
or how you are outputting it.

But in any case, I just ran the code I gave you earlier and I have no 
problem using SHGetDataFromIDList() to retreive the sizes of the files in 
the "Temporary Internet Files" folder on my machine.  It does not fail on me 
like it does on you.  So I have to think that you are still using it wrong 
somehow.  Can you please show a complete compilable example of what you are 
trying to do?


Gambit 
Technical Details
Message-ID: <471d25c3$1@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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <MPG.218245b2537e015098985c@newsgroups.borland.com> <471833b6$1@newsgroups.borland.com> <MPG.21826e95e6e7cbbe98985e@newsgroups.borland.com> <4718e0b4@newsgroups.borland.com> <MPG.2183458093d06de2989860@newsgroups.borland.com> <471ccfd6@newsgroups.borland.com> <MPG.21872af521ad1e3a989874@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9b1c408e0dae3bef
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <MPG.218245b2537e015098985c@newsgroups.borland.com> <471833b6$1@newsgroups.borland.com> <MPG.21826e95e6e7cbbe98985e@newsgroups.borland.com> <4718e0b4@newsgroups.borland.com> <MPG.2183458093d06de2989860@newsgroups.borland.com> <471ccfd6@newsgroups.borland.com> <MPG.21872af521ad1e3a989874@newsgroups.borland.com>
Subject: Re: SHGetDataFromIDList fails on temporary internet files
Date: Mon, 22 Oct 2007 15:35:02 -0700
Lines: 27
Organization: Lebeau Software
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; Original
NNTP-Posting-Host: 207.178.157.90
Message-ID: <471d25c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1193092547 207.178.157.90 (22 Oct 2007 15:35:47 -0700)
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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail