Solved

**VIDEO FOR WINDOWS**

Posted on 1998-01-05
1
202 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
[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
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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 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.

749 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