VB6只有Beep,没有APIBeep吧?
VB6只有Beep,没有APIBeep吧?这里用APIBeep,也能运行:
https://zhidao.baidu.com/question/433784676.html
MSDN和网上只能查到Beep函数:
http://www.
APIBeep和Beep都能运行,神了。
Beep示例:
程序代码:
Private Declare Function Beep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long Private Sub Form_Load() Beep 2000, 100 End Sub
APIBeep示例:
程序代码:
Private Declare Function APIBeep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long Private Sub Form_Load() APIBeep 2000, 100 End Sub
这到底是什么情况?