Solved

Quicktime and vc++

Posted on 2006-07-06
1
555 Views
Last Modified: 2013-11-25
Hi,

Does anyone have any experience integrating quicktime into a vc++ .net project? I am able to add the quicktime COM+ but, form there, no idea. I would like to have exterior functions for loading a new movie, play, etc... Any ideas?

Alex
0
Comment
Question by:bluedog666
1 Comment
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 500 total points
ID: 17049852
QuickTime 7 includes a new QuickTime COM/ActiveX control targeted at COM and .NET developers using Visual Basic .NET, C# and of course C++.
To add the QuickTime COM control to your VS.NET Toolbox:

* Right-click anywhere in the Toolbox and choose Add/Remove Items… to bring up the Customize Toolbox dialog.

* Choose the COM Components tab

* Check "Apple QuickTime Control 2.0" and click OK.


Once you have added an instance of the control to your Windows Forms form, you can load a movie by setting the URL property of the QuickTime control.

In VB.NET:

AxQTControl1.URL = ""

Once a movie is loaded, the Movie property of the control provides access to the QTMovie COM object which wraps the movie.

e.g.

AxQTControl1.Movie.Play()

Dim trackLength As Long = AxQTControl1.Movie.Tracks(1).Duration


You can use the Object Browser to explore the object model provided in the QTOControlLib and QTOLibrary namespaces

Refer to this link for sample codes
http://developer.apple.com/samplecode/QuickTime/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now