CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Sweden
    Posts
    55

    Multimedia Control

    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.




  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    74

    Re: Multimedia Control

    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).


  3. #3
    Join Date
    May 1999
    Location
    Sweden
    Posts
    55

    Re: Multimedia Control

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured