Playing an .AVI File with the MCITEST ExampleID: Q98769
|
This article shows how to modify the multimedia sample project MCITEST.MAK to load and play Microsoft Video for Windows files (.AVI files). To apply the information in this article, you must have Video for Windows drivers correctly installed and a valid .AVI file available.
change: OpenDlg.CMDialog1.Filter = "Movie File (*.mmm)|*.mmm"
to: OpenDlg.CMDialog1.Filter = "Movie File (*.avi)|*.avi"
Modify the DeviceType to access the AVI drivers:
change: Animate.MMControl1.DeviceType = "MMMovie"
to: Animate.MMControl1.DeviceType = "AVIVideo"
change: Animate.MMControl1.DeviceType = "MMMovie"
to: Animate.MMControl1.DeviceType = "AVIVideo"
Additional query words: 2.00 3.00 mci control multimedia multi media
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: June 14, 1999