HOpenDF not working on Mac OS 10.5 Leopard
HOpenDF not working on Mac OS 10.5 Leopard
- Subject: HOpenDF not working on Mac OS 10.5 Leopard
- From: pallavi khutal <email@hidden>
- Date: Tue, 10 Jun 2008 06:19:16 +0100 (BST)
Hello All ,
I am building my Xcode(2.4) Carbon project using universal binaries.
I have used HOpenDF call for opening file for reading.
Str255 VolumeName;
StringPtr voln;
Str255 temp;
c2pstrcpy (temp,lpszfname);
pstrcopy(VolumeName,sPath); //where spath is a global variable
voln = VolumeName;
pstrcat(voln, "\p:Prj Dir:");
pstrcat(voln, temp);
Err =HOpenDF (0,0,voln,fsRdPerm, &FileRefNo);
It works on mac OS 10.4 but for mac OS 10.5 this api returns error
code.
Which is the suitable function call which will work on both OS 10.4 as
well as 10.5.
Or whether I need to have Xcode 2.5 version .
Please Reply.
Thanks & Regards ,
Pallavi.
Bollywood, fun, friendship, sports and more. You name it,
we have it. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden