以文本方式查看主题 - 蓝色快车PB俱乐部论坛 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp) -- PowerBuilder MIS编程 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=1) ---- PB10能播放wav声音文件么?有本事来看看 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=1&rootid=3541&id=3836) |
-- 作者:liosc -- 发布时间:2006/1/8 23:31:00 -- PB10能播放wav声音文件么?有本事来看看 如果你说能,那你试一试,,,下面为相关函数 Function boolean sndPlaySoundA(string SoundName, uint Flags ) Library "WINMM.DLL" Function uint waveOutGetNumDevs() Library "WINMM.DLL" FUNCTION ulong PlaySound(ref string lpszName,ulong hModule,ulong dwFlags) LIBRARY "winmm.dll" ALIAS FOR "PlaySoundA" 8。0可以,转到10就不行了 返回值都是 True 就是一声警报,然后就没了,难道是10.的问题,如果上天能够给我一个机会,我就不用PB10做东西了,太垃圾了 |
-- 作者:microsys -- 发布时间:2006/6/12 13:34:57 -- 我也有同样的问题. PB10真的很多问题. |
-- 作者:随风 -- 发布时间:2006/6/30 15:09:10 -- 晕,怎么会有这种事!!我还打算从PB9升级到PB10呢,幸好还没有进行 |
"> |