Unscruffed
Programmer
Hi guys. I'm trying to receive a MIDI SYSEX message from a Behringer Bass V-Amp. I've tried both the callback and subclass methods, and all messages are received except MM_MIM_LONGDATA for sysex.
The process I'm using is:
Send sysex message F0 00 20 32 7F 7F 01 F7
This is a request for the unit to identify itself.
I have comfirmed (using MidiOx) that a 30 odd byte response is being sent in the correct format.
MM_MIM_LONGDATA is declared as:
The callback function used for testing is:
All messages are being received except MM_MIM_LONGDATA (sysex). The same thing happens if I use subclassing instead of the callback.
Any idea why this might be happening?
Heaven doesn't want me, and Hell's afraid I'll take over!
The process I'm using is:
Send sysex message F0 00 20 32 7F 7F 01 F7
This is a request for the unit to identify itself.
I have comfirmed (using MidiOx) that a 30 odd byte response is being sent in the correct format.
MM_MIM_LONGDATA is declared as:
Code:
Public Const MM_MIM_LONGDATA = &H3C4
The callback function used for testing is:
Code:
' MidiInProc '
Public Function MidiInProc(ByVal hMidiIn As Long, ByVal wMsg As Long, ByVal dwInstance As Long, ByVal dwParam1 As Long, ByVal dwParam2 As Long) As Long
Select Case wMsg
Case MM_MIM_OPEN
Debug.Print "MidiInProc: MM_MIM_OPEN"
Case MM_MIM_CLOSE
Debug.Print "MidiInProc: MM_MIM_CLOSE"
Case MM_MIM_DATA
Debug.Print "MidiInProc: MM_MIM_DATA"
Case MM_MIM_LONGDATA
Debug.Print "MidiInProc: MM_MIM_LONGDATA"
Case Else
Debug.Print "MidiInProc:"; wMsg
End Select
End Function
All messages are being received except MM_MIM_LONGDATA (sysex). The same thing happens if I use subclassing instead of the callback.
Any idea why this might be happening?
Heaven doesn't want me, and Hell's afraid I'll take over!