Hi all
I have using the FSpCreate() for creating a file, when i compiling my application there is no error but still file is not created.I want to know about the FSSpec structure.
I have passed the following values to this 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.
Thanks and Regards
I have using the FSpCreate() for creating a file, when i compiling my application there is no error but still file is not created.I want to know about the FSSpec structure.
I have passed the following values to this 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.
Thanks and Regards