Thread: Help with Multi Meida Player in C++

  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
    39,659
    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, 10:52 PM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 12:13 AM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04: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