Solved

Quicktime and vc++

Posted on 2006-07-06
1
589 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

628 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