Re(2): MIDI send problems.
Re(2): MIDI send problems.
- Subject: Re(2): MIDI send problems.
- From: "Jason Bagley" <email@hidden>
- Date: Tue, 07 Aug 2001 14:25:05 -0700
email@hidden writes:
>
Below is a small command-line tool that creates a virtual destination
>
and then calls MIDISend to send to it. I can't reproduce any problems
>
with it ... can you? If not, then it's something for the author of the
>
driver to investigate.
Thank you. Yes, that proves that using MIDISend with some larger packets
crashes the MIDISPORT driver. I've sent a message to MIDIMAN tech support.
However, the only reason I'm trying to send larger packets through
MIDISend is because MIDISendSysex is apparently not working. Modifying
your tool to send through MIDISendSysex shows that no data is being
transmitted to the virtual destination (VirtualReadProc never is called),
yet my sysex completion procedure is called. I suppose the point is moot
since both functions would call the same callback in the driver though.
Correct?
A side note: if you set the completion procedure to NULL in the send
request, you'll get a bus error. The header docs don't say that you have
to set the completion proc.
Thanks again,
Jason Bagley
Software Engineer
www.artlogic.com