Open PrimalZed opened 3 months ago
A quick correction:
The windows-classic-samples c++ version does log from wprintf
in the GetThumbnails
. While it does not hit breakpoints, neither does it hit breakpoints in Initialize
. There might be something about breakpoints with C++ that I'm not getting here.
There are so many problems with that project conversion. Sorry. Personally, I would look to the ShellIconExtractor
class if you need that support.
The CloudMirror doesn't generate thumbnails using the
ThumbnailProvider
.The
Initialize
method correctly gets called for each path, but theGetThumbnail
doesn't seem to ever get called. Ultimately, the thumbnail does not load to the client.I looked at #2, but that seems to be about the more general shell registration. The shell registration and registered handlers (or at least the custom command, I haven't tried the others) do work, including the call to
ThumbnailProvider.Initialize
.C++ version
Running the latest from Windows-classic-samples gets thumbnails in the file explorer. (Oddly, breakpoints in
GetThumbnail
are not hit, ~andwprintf
added to it does not show up in the console~. I don't know whether that means it's actually getting the thumbnail in some other way, or that it's some threading change that runs theGetThumbnail
method in some other context outside the debugger/console.)