Solved

Quicktime and vc++

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

708 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

14 Experts available now in Live!

Get 1:1 Help Now