Hello,
I am writing a simple command-line app on Win32 using the QT 7.1 SDK that
exports the poster-frame in a MOV file to an image file (e.g PNG).
When I attempt to get a dataref via
QTNewDataReferenceFromFullPathCFString() for a new (non-existent) image
file it returns an error of -50.
What is the correct way to get a dataref for new and non-existent files?
//My code (sans the error checks)
imageStrRef = CFStringCreateWithCString (0, argv[2], 0);
QTNewDataReferenceFromFullPathCFString(imageStrRef,
kQTNativeDefaultPathStyle,
0, &imageDataRef, &imageDataRefType);
Any pointers appreciated.
Thanks,
Siddharth
PS: The imageDataRef will eventually be passed to
GraphicsExportSetOutputDataReference() .
_______________________________________________
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