title: Thumbnail Provider not working
body: <p>I'm trying to write a Windows Explorer thumbnail handler for our custom file type.  I've got this working fine for the preview pane, but am having trouble getting it to work for the thumbnails.</p>
  
  <p>Windows doesn't even seem to be trying to call the DllGetClassObject entry point.</p>
  
  <p>Before I continue, note that I'm using Windows 7 and unmanaged C++.</p>
  
  <p>I've registered the following values in the registry:</p>
  
  <pre><code>HKCR\CLSID\&lt;my guid&gt;
  HKCR\CLSID\&lt;my guid&gt;\InprocServer32 (default value = path to my DLL)
  HKCR\CLSID\&lt;my guid&gt;\InprocServer32\ThreadingModel (value = "Apartment")
  HKCR\.&lt;my ext&gt;\shellex\{E357FCCD-A995-4576-B01F-234630154E96} (value = my guid)
  </code></pre>
  
  <p>I've also tried using the Win SDK sample, and that doesn't work.  And also the sample project in this article (<a href="http://www.codemonkeycodes.com/2010/01/11/ithumbnailprovider-re-visited/" rel="nofollow noreferrer">http://www.codemonkeycodes.com/2010/01/11/ithumbnailprovider-re-visited/</a>), and that doesn't work.</p>
  
  <p>I'm new to shell programming, so not really sure the best way of debugging this.  I've tried attaching the debugger to explorer.exe, but that doesn't seem to work (breakpoints get disabled, and none of my OutputDebugStrings get displayed in the output window).  Note that I tried setting the "DesktopProcess" in the registry as described in the WinSDK docs for debugging the shell, but I'm still only seeing one explorer.exe in the task manager - so that "may" be why I can't debug it??</p>
  
  <p>Any help with this would be greatly appreciated!</p>
  
  <p>Regards,
  Dan.</p>