A few days ago we added QuickTime support to Radio UserLand. From that, a couple tips for anyone adding QuickTime support to an application. These were a couple of stumpers.
1. The movie controller wouldn't show up. There was a blank white space where it was supposed to be. The fix: call MCIdle each pass through the event loop. Calling MoviesTask did not do the trick.
2. You're going to crash when calling MCSetActionFilterWithRefCon. Unless you do it this way:
MCSetActionFilterWithRefCon (myController, NewMCActionFilterWithRefConProc(myFilter), (long) myPlayerWindow);