Re: [Win32Lib] wrap Media control?
- Posted by mattlewis (admin) Feb 09, 2009
- 1161 views
ghaberek said...
Awesome, Matt! That works great! I wonder why my methods didn't work, though. All the examples I found used either the URL property or the newMedia/currentMedia method I was using.
Well, I used the newMedia method. Looking at the Control::play method, I saw that it required the item to be on the current playlist, which was the final piece of the puzzle.
ghaberek said...
On a side note, do I have to call release_com() after WinMain() or can I call it from the w32HClose event like I have been?
As long as you don't do any more COM stuff after you release it, you're fine.
Matt