   help in VC++
  hello everyone,does anyone know how can i grab or extract an image from a video file(*.AVI) to show it in an image control ?? i am using Win32 API actually to make myself more clear, a window which contain a tree of all the video files exist in the computer and i want whenever the user click on one of them he can see some image which make him know the content of the video (the same idea like thumbnail) ... does anyone know how to make this ???thank in advance ... and waiting your reply Sawsan A.Emam   
  Sounds like you are running windows OS ,   ;Quote:Original post by darrinallenSounds like you are running windows OS ,He could also be using WINE or ReactOS. Though I am not sure whether it answers his question.[Edited by - phresnel on February 24, 2009 10:50:56 AM];  Have a look at the AVIFile API.Here's a tutorial (for VB, but you'll figure it out).You will probably get tired of only being able to get thumbnails of AVI files and in that case you should look into DirectShow. Tutorial found here: framegrabberNote that there's also an API that the shell itself uses to generate thumbnails when you view folders in explorer. The name escapes me, but I found it easier to roll my own thumbnail generator using DirectShow and a sample grabber.   