INTERACT FORUM

Windows => Plug-in Development => Topic started by: Zoner on July 27, 2004, 09:21:49 am

Title: Lifetime of IMJCurPlaylist & IMJPlayback?
Post by: Zoner on July 27, 2004, 09:21:49 am
If I get an IMJCurPlaylistAutomationObject or an IMJPlaybackAutomationObejct from MC, can I store it away and then use it later, even if a new playlist is selected in that zone in the meantime, or other significant changes occur?

That is, should I keep on calling GetPlayback() and GetCurPlaylist() every time I need to access one of these objects, or is it OK just to call those methods once at startup?
Title: Re:Lifetime of IMJCurPlaylist & IMJPlayback?
Post by: Matt on July 27, 2004, 09:26:12 am
It's safe to use the objects for the life of MC.  There is no expiration, and any changes will show up as soon as you use the object.
Title: Re:Lifetime of IMJCurPlaylist & IMJPlayback?
Post by: Zoner on July 27, 2004, 05:05:25 pm
Thanks!