Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTExporter Seems Immutable in C#



I have the following code to test out the exporting features of the
Windows QuickTime API mainly based off of John Cromie's examples in his
book:

if(axQTCurrentMovie.Movie == null)
	return;

QTQuickTime qt = axQTCurrentMovie.QuickTime;
if(qt.Exporters.Count == 0)
{
	qt.Exporters.Add();
}

QTExporter jpgExporter = qt.Exporters[0];
jpgExporter.DestinationFileName = @"C:\temp1\blah.jpg";
jpgExporter.TypeName = "JPEG";
jpgExporter.SetDataSource(axQTCurrentMovie.Movie);
jpgExporter.BeginExport();

While stepping through the code above jpgExporter's properties that I'm
trying to set are not being set and remain null i.e. TypeName and
DestinationFileName.  The VB.Net equivalent of the above code seems to
work fine.  Is there any explanation for this odd behavior?  Am I
missing something painfully obvious?  Thanks for any help!

----
Edward Venturanza
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.