VB Script Problem
Posted: Sat Feb 10, 2007 1:16 pm
Hi,
I'm trying to play a MIDI note using a VB script with the following codes lines:
Private Declare Function midiOutShortMsg Lib "winmm.dll" (ByVal hMidiOut , ByVal dwMsg)
Private Declare Function midiOutOpen Lib "winmm.dll" (lphMidiOut, ByVal uDeviceID, ByVal dwCallback, ByVal dwInstance, ByVal dwFlags)
It seems like "Private Declare Function" is not acceptable,
How can i include win libraries ?
I'm trying to play a MIDI note using a VB script with the following codes lines:
Private Declare Function midiOutShortMsg Lib "winmm.dll" (ByVal hMidiOut , ByVal dwMsg)
Private Declare Function midiOutOpen Lib "winmm.dll" (lphMidiOut, ByVal uDeviceID, ByVal dwCallback, ByVal dwInstance, ByVal dwFlags)
It seems like "Private Declare Function" is not acceptable,
How can i include win libraries ?