473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IExtractImage:Extract for videos question.

I have my app extracting thumbnails nicely for video and images. I have
noticed however that for video there are 5 threads added everytime I call
extract. And those threads never go away. Also the memory is never freed (or
appears not be freed) when the release is called an all my objects are
cleaned up.

Does anyone know why Extract is adding extra threads for every extract
called for video? It's almost like it's not using the thumbs.db.

Nov 15 '05 #1
1 3031
Scott,

You might want to try and force a GC, using the static Collect method on
the GC class. If you have a lot of COM interop wrappers, and you arent
calling ReleaseComObject on them, then the objects never really have been
released properly.

You can see if this is the case by seeing if you have this resource
problem when making the same API calls in unmanaged code.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Scott Andrew" <sc*********@adelphia.net> wrote in message
news:BC08EBAC.6F0C%sc*********@adelphia.net...
I have my app extracting thumbnails nicely for video and images. I have
noticed however that for video there are 5 threads added everytime I call
extract. And those threads never go away. Also the memory is never freed (or appears not be freed) when the release is called an all my objects are
cleaned up.

Does anyone know why Extract is adding extra threads for every extract
called for video? It's almost like it's not using the thumbs.db.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Guy Robinson | last post by:
Hello, I revist this every now and then and are still no closer to getting it to work. I want to extract the thumbnail from a file on windows using either win32com or ctypes. As described in...
6
by: Sharon | last post by:
Hi all. My goal is to convert html elements to bitmap. So the first step would be to parse the html. System.Windows.Forms.WebBrowser even has a method called DrawToBitmap, which makes the whole...
2
by: Keith Smith | last post by:
How can I have a box (maybe a picture box or a panel or something?) that will display all of the contents of a particular folder and show the picture files as thumbnails along with the name of the...
0
by: Ed Neary | last post by:
When I attempt to extract a thumbnail from a simple JPG in Windows 2000 I get an error. This works fine in Windows XP and 2003 Server. The error is 0x80004002 - "No such interface supported". I...
3
by: TheLetti | last post by:
Hello out there, is there any possibility for me to catch or avoid crashes caused within unmanaged code? The situation: I'm writing a managed wrapper in MC++, and in there I use some...
0
by: rose.kevin | last post by:
Hi I am trying to get Windows Explorer to display thumbnails for my own custom filetype. I have found plenty examples out there telling me how to extract thumbnails from explorer for your own...
5
by: sejal17 | last post by:
Hello Friends, I want Application that displays an image preview of a Word document (Like thumbnail View of word document) Following is my code but i got error on bold part of code ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.