Solved

**VIDEO FOR WINDOWS**

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

758 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

19 Experts available now in Live!

Get 1:1 Help Now