Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

**VIDEO FOR WINDOWS**

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
philipc010598
Asked:
philipc010598
1 Solution
 
galkinCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now