I also am wanting to communicate with midi hardware through a port opened within an Iplug.
I'm getting the number and names of available ports but it seems error assertions (exception?) are not triggered for example
Code:
try { midiout->openPort(itemChosen); }
catch (RtMidiError &error) {
DBGMSG("RtMidiError:%s", error.what());
}
never triggers an error even when itemChosen is set beyond the number of available midi ports.
So without errors being triggered it is hard for me to work out why bytes aren't being sent by sendMessage.
If there were examples of using RtMidi from within Iplug that would be really helpful.