I'm making a new menu for the rules in my card game and I want to add some music to liven the menu up.
I've already tried some code that i saw here on stackoverflow (here's the link How to get music to play in Delphi 7?).
Here's my code so far for the menu
procedure TfrmRules.FormActivate(Sender: TObject);
begin
mpMusic.FileName:='1-33 Select.mp3';
mpMusic.Open;
mpMusic.Play;
end;
I expected it to play the song but it gave me a debugging message and nothing played.