Solved

Error Inalid handle when play avi file

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now