返回列表 上一主題 發帖

[發問] 偵錯沒問題,就是無法執行

用錄音程式播放音樂還是頭一次看到
使用Wimm.dll應該純淨點,也可避免版本衝突
Private Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrcommand As String) As Long
Private Const Mic = "c:\op.wav"
Sub op()
mciExecute ("play " & Mic)
End Sub

TOP

我測試能通過,也許你的路徑檔案不存在。

TOP

        靜思自在 : 要用心,不要操心、煩心。
返回列表 上一主題