Solved

Error Inalid handle when play avi file

Posted on 2004-04-08
4
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

In this post we will learn different types of Android Layout and some basics of an Android App.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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 …

752 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