VB播放WAV文件的问题
本帖最后由 bcrun 于 2013-03-29 12:34:27 编辑 我用的是API函数播放的文件,一直没有声音,是怎么回事??
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Const SND_ASYNC = &H1
Private Sub Command1_Click()
Call sndPlaySound("C:\**.wav", SND_ASYNC)
End Sub