0
0452
Unregistered / Unconfirmed
GUEST, unregistred user!
在用DELPHI自带Mediaplay播放MP3或WMA时一旦点击停止按钮(即下段代码)时出现错误:
Access violation at address 004411EB in module 'project1.exe'. Read of sddress 00000057.
而播放WMV,MPG,ASF,AVI,WAV时则正常,该如何解决?
procedure TForm1.BitBtn2Click(Sender: TObject);
begin
mp1.AutoOpen:=False;
mp1.Stop;
mp1.close;
mp1.Display.Visible:=False;
panel1.Visible:=True;
panel1.Caption:='媒体播放区';
end;
Access violation at address 004411EB in module 'project1.exe'. Read of sddress 00000057.
而播放WMV,MPG,ASF,AVI,WAV时则正常,该如何解决?
procedure TForm1.BitBtn2Click(Sender: TObject);
begin
mp1.AutoOpen:=False;
mp1.Stop;
mp1.close;
mp1.Display.Visible:=False;
panel1.Visible:=True;
panel1.Caption:='媒体播放区';
end;