J
jkh112233
Unregistered / Unconfirmed
GUEST, unregistred user!
我在用MediaPlayer1 播放VCD文件时,运行出现如下错误:
指定的设备未打开,或 不被MCI所识别!
代码如下:我系统是xp2
MediaPlayer1.devicetype:=dtDigitalVideo;
procedure TForm1.Button3Click(Sender: TObject);
begin
opendialog1.DefaultExt := 'dat' ;
opendialog1.FileName := '*.dat' ;
if opendialog1.Execute then
begin
MediaPlayer1.FileName := opendialog1.FileName ;
MediaPlayer1.PaintTo(panel1.Handle ,0,0) ;
MediaPlayer1.Open;
//MediaPlayer1.Play ;
end;
end;
指定的设备未打开,或 不被MCI所识别!
代码如下:我系统是xp2
MediaPlayer1.devicetype:=dtDigitalVideo;
procedure TForm1.Button3Click(Sender: TObject);
begin
opendialog1.DefaultExt := 'dat' ;
opendialog1.FileName := '*.dat' ;
if opendialog1.Execute then
begin
MediaPlayer1.FileName := opendialog1.FileName ;
MediaPlayer1.PaintTo(panel1.Handle ,0,0) ;
MediaPlayer1.Open;
//MediaPlayer1.Play ;
end;
end;