On Jan 20, 2008, at 2:49 PM, Alfred Van Hoek wrote:
>
> Yes, can confirm this, if you have a movie but have not yet assigned
> it to a MoviePlayer, REALgetMovieMovie returns nil. However, it
> appears that the following will work before the movie is presented to
> the MoviePlayer:
>
> if (movieObject == nil) return;
>
> Movie theMovie = REALgetMovieMovie(movieObject);
>
> if (theMovie == nil)
> {
> long handle = 0;
> REALGetPropValueInt32((REALobject)movieObject, "handle",
> &handle);
> theMovie = (Movie)handle;
> }
>
> if (theMovie == NULL) {
> return;
> }
The story goes further:
What does the presence of a QT MoviePlayer on the window do that
EnterMovies or REALenterMovies can't accomplish? It appears that a
number of QT APIs magically work both on the Mac and on Windows. And
note: just the player is required, not a movie. Perhaps a question
for the QuickTime folks, but not knowing what exactly is under the RB
hood, I have to ask here. It appears also that we don't need to call
EnterMovies, REALenterMovies and InitializeQTML (windows only).
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>