Solved

**VIDEO FOR WINDOWS**

Posted on 1998-01-05
1
190 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

813 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

11 Experts available now in Live!

Get 1:1 Help Now