最近需要在程序的界面上播放MPG格式的视频。本来以为很简单的。使用了
  --mp1: TMediaPlayer;  mp1.FileName:= 'D:\迅雷下载\yuman.mpg';
  mp1.DeviceType:= dtAutoSelect;
  mp1.Display:= pnl1;
  mp1.Open;
  mp1.DisplayRect:= pnl1.ClientRect;
  mp1.Notify:= True;
  mp1.Play;运行的时候,出现错误,或者在有的电脑上黑屏。
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 61FE53CE in module 'mciqtz32.dll'. Read of address FEEEFEEE'. Process stopped. Use Step or Run to continue.
---------------------------
OK   Help   
---------------------------请使用过的朋友帮忙下。谢谢。