Article View: borland.public.cppbuilder.nativeapi
Article #1102Re: SHGetDataFromIDList fails on temporary internet files
From: Asger Jørgensen
Date: Mon, 22 Oct 2007 20:48
Date: Mon, 22 Oct 2007 20:48
30 lines
2210 bytes
2210 bytes
Hi Remy In article <471ccfd6@newsgroups.borland.com> no.spam@no.spam.com Remy Lebeau (TeamB) says: > That is E_NOTIMPL, which means that type of operation is not implemented for > that type of object. How does the OS get the size of those files then ?? I cant find other functions then SHGetDataFromIDList. Is there a "secret" one only the Bill Gates knows? ;-) > > but on some of the other object it returns these errors: > > 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. But I have now fixed it so that when the function fails I fall back to the old function using FindFirstFile.... So now I get the speed from using PIDL's and the last files using FindFirstFile.... It is after all the disks that I want to check and not the windows filesystem. Thanks for Your help Kind regards Asger
Technical Details
Message-ID:
<MPG.21872af521ad1e3a989874@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9b1c408e0dae3bef X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Asger Jørgensen <junk@Asger-P.dk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SHGetDataFromIDList fails on temporary internet files Date: Mon, 22 Oct 2007 22:48:08 +0200 Message-ID: <MPG.21872af521ad1e3a989874@newsgroups.borland.com> 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> Organization: Asger-P MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 NNTP-Posting-Host: 83.73.201.25 X-Trace: newsgroups.borland.com 1193086075 83.73.201.25 (22 Oct 2007 13:47:55 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail