• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creation of a file???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creation of a file???


  • Subject: Creation of a file???
  • From: "darpan kamboj" <email@hidden>
  • Date: 8 Aug 2005 15:00:05 -0000

Hi all
        I want to create a  file and i am using the following code for this :-


I have passed the following values to FSSpec structure

spec.vRefNum=0;
spec.parID=4029;
unsigned char filename[64]="Aman";
spec.name=filename;
FSpCreate(&spec, 'ttxt', 'TEXT', smSystemScript);  

I want to create file on root . What i should pass to parId and vRefNum?? How i
can get the Volume reference number.

Plz if any one have idea then guide me

Thanks and Regards












 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • [Moderator] Take to carbon-dev (Re: Creation of a file???)
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: 256x256 Icons
  • Next by Date: [Moderator] Take to carbon-dev (Re: Creation of a file???)
  • Previous by thread: Re: Question about Threading
  • Next by thread: [Moderator] Take to carbon-dev (Re: Creation of a file???)
  • Index(es):
    • Date
    • Thread