Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error Inalid handle when play avi file

Posted on 2004-04-08
4
Medium Priority
?
260 Views
Last Modified: 2013-11-13
hello
I have written a program ( visual C++) to play avi file but only using  API functions and DrawDib functions . When I exit my program , I receive an error:
Invali Handle  in playvideo.ese: 0xC0008 ,.
If I delete DrawDibDraw command , my program doesn't have error.  
Can you help me ?
thanks.
0
Comment
Question by:hoatim
4 Comments
 
LVL 10

Accepted Solution

by:
Kavar earned 2000 total points
ID: 10793623
sounds like you are terminating threads in the wrong order, make sure you release / close the DrawDibDraw handle before your prog exits
0
 

Author Comment

by:hoatim
ID: 10796095
Thank you to Kavar .

 Would you mind helping me play audio stream in avi file ? . I don't know how to process audio stream .
Thanks!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question