INTERACT FORUM
Windows => Plug-in Development => Topic started by: SteveV on April 15, 2007, 10:08:15 pm
-
Refering to the automation wiki (http://wiki.jrmediacenter.com/index.php/Media_Center_Automation) I put together a VS8 simple MFC dialog app. The app builds properly and GetActiveObject and AfxConnectionAdvise both succeed but I'm not seeing any events on my MJAutomationSink event handler.
Most of the posts refer to the MC 12 tlb--can anyone confirm that they've been able to get MC 11.1 to fire events?
Thanks,
Steve
-
Nevermind, got it working. I had the MJEvent method declared as protected instead of public in the header file.
Steve
-
Also, MC 11.1 does not do events, only 12.
http://wiki.jrmediacenter.com/index.php/Media_Center_Automation (http://wiki.jrmediacenter.com/index.php/Media_Center_Automation)
Your memory is the second thing to go. I forget what the first thing is.
-
As it turns out, 11.1 doesn't seem to fire all of the available events. The most important one from me perspective: MCC: NOTIFY_TRACK_CHANGE never fires. Moving to MC 12 fixes the problem.
Steve
-
Yeah, no question 11.1 only has a few events. The Wiki doesn't identify which ones were in and which ones are in 12 only.