代码如下:
var
 i:byte;
begin
  if ComboBox1.Items.Count =0 then
   ShowMessage('请选择有效的音乐');
   for i:=0 to ComboBox1.Items.Count do 
     begin
       MediaPlayer1.FileName:=ComboBox1.Items[i];     
       MediaPlayer1.Open;
       MediaPlayer1.Play;  // 错误 ‘无法给定的设备名确定类型’
      end;
end;ComboBox1中的Items中的内容例如为 G:\mp3\new\cc.mp3
但是运行时错误 ‘无法给定的设备名确定类型’
怎么解决呀?