Update to Thumbnail Component

In my previous post I described how to access thumbnail images in Inventor documents.  At the bottom of that post is a link to an updated version of a component that provides access to thumbnails.  A problem has been reported since I posted that code and has now been fixed. 

It’s likely that most of you would have never noticed the problem, since it is a bit obscure.  The issue was with how the component was registering itself.  It was registering itself in the Current User portion of the registry which meant only the user that it was registered for would have access to the component.  In the problem that was reported, they were running Win7 and the application that was using the component needed to run as an administrator.  Running as an administrator looks at a different portion of the registry so the application couldn’t find the thumbnail component and would fail.  The fix changes the component so it is now registered for everyone.  Please see the readme for details on how to register it.

I updated the previous post so the link at the bottom is to the new version of the component and you can also access here.


Comments

4 responses to “Update to Thumbnail Component”

  1. Thank you Brian. I have the application working now.

  2. I am Update to Thumbnail Component, but this version not work correctly. Memory isn’t released at the reference to given component(from my AddIns dll), thus occupied memory displayed in Inventore critically decreases (AIP 2010 – 32 bit).The previous version ThumbnailViewer.dll works correctly.

  3. Please give if probably last version of the given component.

  4. Forgive for bad English

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading