If I then reconnect the device, the old connection does not see any MIDI message; I have to close and re-open it to make it work again (I have not looked yet whether midiInStop() / midiInStart() would also be sufficient).Not much experience on the programming side, but for what it is worth, I am not sure if I have ever seen a host where you would not need to do some sort of rescan or something afterwards