Re: fopen
Re: fopen
- Subject: Re: fopen
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 28 Dec 2007 10:55:55 +0100
Le 28 déc. 07 à 10:35, email@hidden a écrit :
Hi
With codewarrior I was using the fopen fonction with
file = fopen("HD:Folder1:Folder2:MyFiles",mode);
fprintf(file, ....
now with XCode
this generate a file named "HD:Folder1:Folder2:MyFiles" which is
create in application folder if launch from XCode and in "HD" if
It's launch from the finder.
I've try to use the fonction SetVol but with no success.
I know I could use FSOpen, FSWrite but then I'll have thousand
modification in my code.
Any idea?
Regards
Vincent HOFFMANN
Using HFS path with lib c function was a CodeWarrior feature. You
should use POSIX path with lib c functions now.
fopen("/Folder1/Folder2/MyFiles", mode);
You also have to update your code, but it will probably need less
change than using FSOpen and Co.
Regards
Jean-Daniel Dupas
_______________________________________________
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
References: | |
| >fopen (From: email@hidden) |