Solved

Error Inalid handle when play avi file

Posted on 2004-04-08
4
253 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
This is about my first experience with programming Arduino.
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…

763 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