🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHGetDataFromIDList fails on temporary internet files

#1184
From: Asger Jørgensen
Date: Fri, 19 Oct 2007 21:52
59 lines
2661 bytes
Hi Remy

In article <4718e0b4@newsgroups.borland.com>, 
no.spam@no.spam.com says...
> 
> "Asger Jørgensen" <junk@Asger-P.dk> wrote in message 
> news:MPG.21826e95e6e7cbbe98985e@newsgroups.borland.com...
> 
> > Now that SHGetDataFromIDList don't work ?
> 
> You have not said yet why it doesn't work for you.  Is it returning an error 
> code?  If so, what is it?

Well I just thought it was commenly known that it fails 
on that kind of objects At least the VirtualListView 
example from BCB5 have the same problem.
They do a size = 1 when it fails

But here is what I've been able to get in return:
The function returns -2147467263 every time it fails

GetLastError() returns 0 on all the teporary internet 
files.
but on some of the other object it returns these 
errors:

Name of file from GetDiplayNameOf
Errorstring
Errorcode

My actual startpage
The named module was not found.
126

C:\WINDOWS\Tasks\Plan new task.job
Sizeof dat is to small.
122

For 3 uger siden

12051

2 Weeks Ago
A File that already exist can not be created.
183

P.s. The error messages are translated from Danish.

I have just tested the app on a win2000 and there
it finds all the teporary internet files and the 
structure looks just like it does when I use 
FindFirstFile... nested folder ending with files,
but when I check in the explorer it is the same as 
on XP no folder just files.

Hope You can help
Thanks in advance
Asger
Technical Details
Message-ID: <MPG.2183458093d06de2989860@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9b1c408e0dae3bef
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,UTF8
From: Asger Jørgensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: SHGetDataFromIDList fails on temporary internet files
Date: Fri, 19 Oct 2007 23:52:19 +0200
Message-ID: <MPG.2183458093d06de2989860@newsgroups.borland.com>
References: <MPG.218245b2537e015098985c@newsgroups.borland.com> <471833b6$1@newsgroups.borland.com> <MPG.21826e95e6e7cbbe98985e@newsgroups.borland.com> <4718e0b4@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.201.25
X-Trace: newsgroups.borland.com 1192830731 83.73.201.25 (19 Oct 2007 14:52:11 -0700)
Lines: 62
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail