Hi all,
In the winmm.dll there is this function:
Function MidiInOpen(lphMidiIn:Byte Ptr, uDeviceID:Byte Ptr, dwCallback:Byte Ptr, dwInstance:Byte Ptr, dwFlags:Int)
Which I declare with an Extern...End Extern from within BMAX.
So, for the parameter dwCallback I have to pass a function pointer.
The question: how can I pass a BMAX function pointer to that DLL function ?
A working example would be really appreciated.
Regards,
Sergio.
In the winmm.dll there is this function:
Function MidiInOpen(lphMidiIn:Byte Ptr, uDeviceID:Byte Ptr, dwCallback:Byte Ptr, dwInstance:Byte Ptr, dwFlags:Int)
Which I declare with an Extern...End Extern from within BMAX.
So, for the parameter dwCallback I have to pass a function pointer.
The question: how can I pass a BMAX function pointer to that DLL function ?
A working example would be really appreciated.
Regards,
Sergio.