Re: CocoaCreateMovie QT sample not creating movies (for me)
Re: CocoaCreateMovie QT sample not creating movies (for me)
- Subject: Re: CocoaCreateMovie QT sample not creating movies (for me)
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 17 Jan 2002 18:11:39 +0100
On Thursday, January 17, 2002, at 05:43 PM, email@hidden wrote:
Thanks Stephane I find it now. So my question now is: How do I
save it somewhere else? I tried "/Users/rgrant/NewMovie.mov" thinking
it would show up in my home dir but no....
It's a FSSpec, so you need to use the CarbonCore File API. To save it in
your Home directory it should be something like this:
short tvRefNum;
long tDirID;
FindFolder(0,kCurrentUserFolderType,FALSE,&tvRefNum,& tDirID);
FSMakeFSSpec(tvRefNum, tDirID, QTUtils_ConvertCToPascalString
("NewMovie.mov"), &mySpec);
Sorry for the posting date of the previous mail, I was doing scheduling
test.