Thanks for the info, Julia; good idea, and I'll look into that. Thanks also Christian; I will let you know if I see any code to port.
Cheers, Aaron ===== On Mar 20, 2012, at 7:00 AM, [email protected] wrote: > Hi Aaron, > > I tried using a timer to poll Windows Midi at intervals, but it was a mess > and slowed things badly. What I do now is use WinUSBNotificationMBS to tell > me when a USB device is added or removed, then I wait 250ms to give the Win > Midi system a chance to catch up, then I query Midi devices to see if any are > of interest to my (specialized) app. > > Beware that XP and Win7 return different info for some properties of > WindowsMidiInputInfoMBS and WindowsMidiOutputInfoMBS, like "Name". > > Julia > > > > ----------------------------- > On Mac there is MIDIClientMBS which can be subclassed to get events for > reacting to changes in the MIDI setup, but I don't see anything in the > Windows classes for it. Is there something? > > Thanks, > Aaron > > > > ------------------------------ > Am 19.03.2012 um 07:04 schrieb Aaron Andrew Hunt: >> On Mac there is MIDIClientMBS which can be subclassed to get events for >> reacting to changes in the MIDI setup, but I don't see anything in the >> Windows classes for it. Is there something? > > I don't see that microsoft has some message for that, so we can't listen for > it. > > if you see something for C/C++ somewhere else, I may be able to port it. > > > Greetings > Christian > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
