Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iTunes COM SDK

Status
Not open for further replies.

saponifi3d

Programmer
Joined
Feb 26, 2008
Messages
2
Location
US
I am writing a plugin for itunes and i was wondering if anyone knows how to use ITEvents. I am writing the plugin in c++ and i want to find the event, ITEventPlayerPlay.

This should be the event triggered when there is a new song playing either from pause, start, or if it starts because the previous song just ended. I have tried creating a class to handle the events, i have tried just using the player play button event which did work, but i couldn't get it to work unless it was playing from the stopped state. In a state of desperation I even tried to handle it like a signal, which didn't work for obvious reasons.

I have seen on some sites how they did it, and I couldn't get their ways to work (making a class to handle the events and somehow being triggered when they call it, anyways not really any good examples / explinations).

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top