Solved

Quicktime and vc++

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Query performance - SQL Server 20 85
Messagebox for a Web Site Application 4 86
Is IHttpActionResult a promise pattern? 2 78
Where does legacy ASP.NET initialize language? 2 96
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 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