I want to read all thumbnails from a folder with images in Windows XP. But if I read image file to get thumbnail, it seems a bit slow, so I wish I can first read the windows image thumbnail cache:thumb.db. Is there any lib in c++ or c to read thumbnails from thumb.db.
views:
755answers:
2
+5
A:
The Thumbs.db file is stored in OLE Compound Document format, the same format that many Microsoft Office products use.
You could also try to look into ThumbsDBLib. It is in C# but you can probably see what they do to read the data and convert it to C++.
Note: Windows Vista and later doesn't use Thumbs.db. See the IThumbnailCache interface for Vista and later.
For Vista and later they are stored here: %homedrive%\Users\%username%\AppData\Local\Microsoft\Windows\Explorer
Brian R. Bondy
2008-10-23 04:04:36
Thank you Brian!I convert the c#code into c++, it works!. BTW my English Name is also Brian *_*
2008-10-24 02:01:09
+1
A:
You might find this useful:
ThumbsDBLib in C++