关于playsound()的问题,在线等

关于playsound()的问题,在线等 Delphi / Windows SDK/API
http://www.delphi2007.net/DelphiAPI/html/delphi_20061107145536288.html
uses   MMSystem;  
  sndPlaysound(PChar('alarm.wav'),SND_LOOP);  
  怎么声音不循环播放呢?奇怪

没人知道啊???

看看sndPlaysound这个函数的帮助

帮助就这么写的,用SND_LOOP可以循环  
 

sndPlaysound(PChar('alarm.wav'),SND_ASYNC   or   SND_LOOP);

多谢楼上朋友

posted on 2009-04-08 09:16  delphi2007  阅读(259)  评论(0编辑  收藏  举报