Solved

Quicktime and vc++

Posted on 2006-07-06
1
569 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

685 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