Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: C++



> Hello all,
>    I am trying to write an applications with 2 synchronized
> videos. My first problem is that I can't seem to figure out
> how to access some of the COM properties in C++ and I can not
> find any c++ documentation. This code works fine to load a movie:
>    quicktimeMovie1.put_URL("G:\\Program Files\\QuickTime
> SDK\\QTJava_6.1_Win_SDK\\Demos\\media\\Sample.mov");
>   But I can't figure out the C++ equivalents of the VB commands:
>        AxQTControl1.Movie.Play()
>        AxQTControl1.Movie.Time = AxQTControl1.Movie.Time + 300000
>
> How can I access these and other commands from C++?
>
> Does anyone have any other suggestions for how to synchronize
> 2 videos so when either slider is moved the other movie is
> synchronized automatically?

Maybe

AxQTControl1->getMovie()->Play();
AxQTControl1->getMovie()->setTime(AxQTControl1.getMovie().getTime()+30000);

Just guessing. Methods might be called Get_Movie, Set_Time etc., haven't
checked (can use OleView to check or VS.NET IDE class browser)

----------------
George Birbilis (email@hidden)
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0626-1, 27/06/2006
Tested on: 28/6/2006 3:31:22 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

References: 
 >C++ (From: Gregory Hughes <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.