title: How to fix "a problem occured in initializing MCI" debugging message while running media player in Delphi 2010
body: <p>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.</p>
  
  <p>I've already tried some code that i saw here on stackoverflow (here's the link <a href="https://stackoverflow.com/questions/7765955/how-to-get-music-to-play-in-delphi-7">How to get music to play in Delphi 7?</a>).</p>
  
  <p>Here's my code so far for the menu</p>
  
  <pre><code>procedure TfrmRules.FormActivate(Sender: TObject);
  begin
    mpMusic.FileName:='1-33 Select.mp3';
    mpMusic.Open;
    mpMusic.Play;
  end;
  </code></pre>
  
  <p>I expected it to play the song but it gave me a debugging message and nothing played.</p>