Solved

**VIDEO FOR WINDOWS**

Posted on 1998-01-05
1
182 Views
Last Modified: 2010-04-10
I'm including vfw.h within my c++ program, but every time I try to use a command, I get an unresolved external when linking. Do you know what can cause this? Also, is it possible to play an avi file within a dialog?
0
Comment
Question by:philipc010598
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 10 total points
ID: 1177492
You must link your project with vfw32.lib. To play AVI file in dialog you can use windows animate common control, if you are programming with MFC take advantage from CAnimateCtrl class which wraps this control. Only RLE encoded AVI files can be played by this control. If you want to play other AVI files use MS active Movie SDK or ActiveX control that you can insert into your dialog. The third way is to use MCI API.
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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

910 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

18 Experts available now in Live!

Get 1:1 Help Now