|
用vb.net在WinCE下,调用sndPlaySound函数!
[复制链接]
- Declare Function sndPlaySound Lib "Coredll.lib" (ByVal SoundName As String, ByVal Flags As Byte) As Boolean
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
- sndPlaySound("\123ARM\AlarmSound.wav", 1)
- End Sub
复制代码
请问大家到底什么地方出错了??总是出现“ 无法找到 PInvoke DLL“Coredll.lib” ”错误!!!
|
|