Help with Multi Meida Player in C++

This is a discussion on Help with Multi Meida Player in C++ within the C++ Programming forums, part of the General Programming Boards category; I'm trying to add a multimedia player in c++ to play and record wav files. i have the multimedia player ...

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    8

    Help with Multi Meida Player in C++

    I'm trying to add a multimedia player in c++ to play and record wav files. i have the multimedia player working but when i try and open a file using an open dialog the media player doesn't activate. If an initial file is loaded then the media player recognises that the file has changed but continues to play the file that was originally loaded into the player.
    Code:
      FileName = FileOpen1->Dialog->FileName;
      MediaPlayer1->FileName = FileName;
      MediaPlayer1->Enabled = true;
    Any help or explanations why this happens would be gratefully received

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,854
    You basically asked....
    Code:
    int main ( ) {
      doMyMediaPlayer();
      return 0;
    }
    It doesn't work - why?

    Could it be the lack of saying which OS/Compiler you're using,
    or the lack of saying which "media player" library you're using,
    or even the complete lack of any useful code to comment on.

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    8
    The multi media player works. it just won't load in a new file. I'm not sure which command to use to get it to recognise a new file has been passed in and the c++ help files are of no real use on this topic I'm using builder 6 in windows xp

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 11-03-2008, 09:48 PM
  2. My first python project =)
    By Desolation in forum Tech Board
    Replies: 14
    Last Post: 06-26-2007, 11:52 PM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 01:13 AM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 05:24 PM
  5. Trying To Implement A 'Player' Class
    By adc85 in forum C++ Programming
    Replies: 2
    Last Post: 04-02-2003, 03:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21