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