播放音频: function mciExecute(pszCommand:PCHAR):BOOLEAN; stdcall; external 'winmm.dll' name 'mciExecute'; function music(st:string):integer; var f:boolean; begin if not(fileexists(st)) then exit(1); f:=mciExecute(pchar('play '+st)); if f then exit(0) else exit(1); end;