I am also having alot of trouble with the Movieplayer in 2007 (WinXP IDE).

I am trying to convert one of my applications from rb5.5.5 that uses quicktime extensively and nothing is working correctly. I can't even get my program to run. It seems that if my player type is set to quicktime everything takes forever.

Can anyone think what the problem may be with this code:

Start with blank project.
Add a movieplayer named movieplayer1
Sets its Index to 0
Set is player type to quicktime
Put the following code in the open event of the window...

  dim i as Integer
  dim mp as MoviePlayer1
  dim t, tt as integer

  t = ticks
  For i = 1 to 99
    mp = new MoviePlayer1
  next
  tt=ticks
  MsgBox str(tt-t)

On RB2007r1 this takes 2541 ticks (42.35 seconds) on my 2.16Ghz Core Duo XP machine. On RB 5.5.5 this takes 0002 ticks (00.03 seconds) on my 2.16Ghz Core Duo XP machine.

Change the type to Windows Media and it takes 160 ticks (2.66 seconds).

Any ideas?

Thanks,
Drew

On Jan 21, 2007, at 10:54 PM, Ron Benditt wrote:

Can anyone direct me to a good description of how to program the
movieplayer in a windows environment. My app, written in rb2005, used
to work OK but with the upgrade to rb2007, now it misbehaves under
windows. From what I can gather, it is because I need to use the
OLEObject control but there is not much info available that I can
find. Some examples on how to control the movie would also be helpful.

This definitely can do with expansion in the RB documentation.

bobj

The MoviePlayer control is "supposed" to function as it did in RB2005, so there should not be any need to do any OLE business. Having said that, I'm finding some issues with going to RB2007 as well. From what I see so far, there is a problem with setting the MoviePlayer's position in code in Windows builds (Mac is fine). I still need to confirm this by writing a simple application in RB without any 3rd party plugins. I will do this in short order and file a bug report if necessary. This is a serious issue for me and has caused me to temporarily revert back to RB2006 for Windows builds until this issue is resolved.

Regards,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to