| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Siddharth Mathur <email@hidden> wrote:
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);
What does the path argument you passed look like? -- James W. Walker, ScriptPerfection Enterprises, Inc. <http://www.write-brain.com/> _______________________________________________ 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
| References: | |
| >QTNewDataReferenceFromFullPathCFString usage (From: Siddharth Mathur <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.