Click to See Complete Forum and Search --> : Multimedia Control


fwehlin
May 5th, 1999, 02:56 PM
Hi!

I got a small problem that is making me crazy. I´ve made a formviewdialog
on which I have put an Multimedia Control. I want this control to play a
movie-file such as an mpeg or avi. If I understand correct this control uses
MCI (thats why I want to try it). MFC makes wrapper for this control called
Cmci. I´ve created a membervariable for this control called m_Mci. Now What
I need to know is how do get it to work? I´ve tried everything (I think?)
SetDeviceType, SetDeviceID.... But How do I actually get it to play the
file? There is no function for it. only the SetCanPlay and GetCanPlay.

Please help me, I´ve been trying to get it to work for almost a week now and I´m
getting desperate.

Frederik.

Jaeyeon Lee
May 5th, 1999, 08:23 PM
How about using ActiveMovie control instead of multimedia control ?
With this control, you can play avi or mpg files far more easily.
(The wrapper class Visual C++ creates for you is more comprehensible).

fwehlin
May 6th, 1999, 02:09 PM
Thanks for your reply.

The reason I wanted to use the multimedia control is that I´m making a demonstration application that´s supposed to show different ways of playback a movie file. I used the mulitmedia control since it wrappes the Mci api. But I can´t get it to open the digitalvideo device.

Frederik